unidbgrid默认列排序

Posted on 2021-04-01 11:19  阿骏骏  阅读(162)  评论(0编辑  收藏  举报

UniDBGrid -> ClientEvents -> ExtEvents ->...

function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts)
{
    if (columns[0].isSortable()) {
        columns[0].sort('ASC')
    }
}

Copyright © 2024 阿骏骏
Powered by .NET 8.0 on Kubernetes