Forums

Full Version: Script to set height of the Datagrid component
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Script to set the height of Datagrid component on click of another component.
* Below mentioned script is to be written on the label component script.
* Click on the label the Datagrid height will be changed which is set to 300 in the below-mentioned script.

var a = sdk.getWidget( 'datagrid1' );
a.m_height=300;
a.draw();