unidbgrid默认列排序

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

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

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

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3