12-22-2022, 12:47 PM
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();
* 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();