Jump to content

Changing (Unidbgrid) LayoutConfig (Width) run time


Vision

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...