rgreat Posted March 16, 2018 Share Posted March 16, 2018 This code is no longer working. UniSession.AddJS(DBG1.JSName+'.getStore().sorters.add(new Ext.util.Sorter({property: ''0'',direction: ''ASC''}));'); UniSession.AddJS(DBG2.JSName+'.headerCt.forceFit=true;'); 1. Preset sort modes in DBGrid. 2. Fit grid into view. How to adapt it ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 17, 2018 Share Posted March 17, 2018 Hi, Where do you use these codes? Quote Link to comment Share on other sites More sharing options...
rgreat Posted March 17, 2018 Author Share Posted March 17, 2018 On main form create. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 17, 2018 Share Posted March 17, 2018 Can you use these codes in MainForm -> OnReady event ?! 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.