Vision Posted April 16, 2019 Share Posted April 16, 2019 Hi I need to apply run time unidbgrid1.LayoutConfig.Width:='100%'. I searched a few in web, and I find something similar to wich I'm thinking, but I'm not able to recustomize the code, I only produce ajax error. UniPanel2.layoutconfig.Flex:=1; UniPanel2.JSInterface.JSAssign('flex', [1]); UniPanel1.JSInterface.JSCall('doLayout', []); Can someone help me? Is the right way? If possible i would like to have a link to sencha documentation to understand where i can find usefull information for this tipical situation. Tnks a lot Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 16, 2019 Share Posted April 16, 2019 Hi, Can you please explain in more details what you wanted? Which build are you using? 2 hours ago, cristian said: UniPanel1.JSInterface.JSCall('doLayout', []); In the latest versions doLayout changed to updateLayout Quote Link to comment Share on other sites More sharing options...
Vision Posted April 16, 2019 Author Share Posted April 16, 2019 Hi I'm using versione 1.70.0.1486. I cant update the versione because i already have sereral system working to final customer. Quote Link to comment Share on other sites More sharing options...
Vision Posted April 17, 2019 Author Share Posted April 17, 2019 up :-) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 17, 2019 Share Posted April 17, 2019 45 minutes ago, cristian said: up :-) UniPanel1.JSInterface.JSCall('updateLayout', []); Or can you make a simple testcase for reproduce? Quote Link to comment Share on other sites More sharing options...
Vision Posted April 17, 2019 Author Share Posted April 17, 2019 1 hour ago, Sherzod said: UniPanel1.JSInterface.JSCall('updateLayout', []); Or can you make a simple testcase for reproduce? I need to enlarge tunidbgrid. I'm not able to recustomize code posted in previous message. If possible i would like a link to sencha documentation for understand how to get this kind of information by my self, please. Test case attached Tnks UniDbGridLayout.7z Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 17, 2019 Share Posted April 17, 2019 47 minutes ago, cristian said: Test case attached Thanks We will check Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 18, 2019 Share Posted April 18, 2019 16 hours ago, cristian said: Test case attached UniDBGrid1.layoutconfig.Width := '100%'; UniDBGrid1.JSInterface.JSAssign('width', ['100%']); UniPanel1.JSInterface.JSCall('updateLayout', []); 1 Quote Link to comment Share on other sites More sharing options...
Vision Posted April 19, 2019 Author Share Posted April 19, 2019 Perfect!!!! Tnk u :-) 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.