Laskdou Posted May 14, 2019 Share Posted May 14, 2019 Добрый день, подскажите, как программно отсоритровать по столбцу, в частности, мне нужно чтобы уже при открытии формы UniDbTreeGrid был отсортирован по столбцу sort? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 14, 2019 Share Posted May 14, 2019 4 hours ago, ma4balaka said: Добрый день, подскажите, как программно отсоритровать по столбцу, в частности, мне нужно чтобы уже при открытии формы UniDbTreeGrid был отсортирован по столбцу sort? Здравствуйте, Можете сделать тестовый случай, с данными? Quote Link to comment Share on other sites More sharing options...
Laskdou Posted May 14, 2019 Author Share Posted May 14, 2019 1 hour ago, Sherzod said: Можете сделать тестовый случай, с данными? Нашел решение - ваш ответ в этом посту http://forums.unigui.com/index.php?/topic/9776-descending-treegrid-order/&do=findComment&comment=50778 var me=sender; me.remoteSort=false; me.sort({property:1, direction:"ASC"}); me.grid.getSelectionModel().select(0); 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 14, 2019 Share Posted May 14, 2019 2 minutes ago, ma4balaka said: Нашел решение - ваш ответ в этом посту http://forums.unigui.com/index.php?/topic/9776-descending-treegrid-order/&do=findComment&comment=50778 ОК, работает? Quote Link to comment Share on other sites More sharing options...
Laskdou Posted May 15, 2019 Author Share Posted May 15, 2019 Да, спасибо Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.