eduardosuruagy Posted August 8, 2019 Share Posted August 8, 2019 How to expand and collapse dbgrid groups via code? 1 Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted August 8, 2019 Share Posted August 8, 2019 Hi, Please check Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 8, 2019 Author Share Posted August 8, 2019 unidbgrid.JSInterface.JSCall('view.features[0].collapseAll') => collapse all groups I put the code in a button and the error happened: Cannot read property '0' of undefined O589.view.features[0].collapseAll(); Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted August 8, 2019 Share Posted August 8, 2019 Hi, It is working as expected. Please check attached demo. GridGrouping.rar 1 Link to comment Share on other sites More sharing options...
eduardosuruagy Posted August 9, 2019 Author Share Posted August 9, 2019 12 hours ago, Hayri ASLAN said: Oi, Está funcionando como esperado. Por favor, verifique a demonstração anexa. GridGrouping.rar It worked, my problem I think was the way I created the index, I had a composite index. Thanks a lot for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now