hello
I have a chart that in the event click need my datagrid to expand.
the initial properties of the datagrid are:
<table id="dgA" class="easyui-datagrid" style="width:auto; height:400px;" title="Title of table" pagination="false" rownumbers="true" nowrap="false" fitColumns="false" singleSelect="true" striped="true" showFooter="true" remoteSort="false" data-options="
url:'source/get.php',
collapsible:true,
collapsed:true, view:scrollview,
autoRowHeight:false,
pageSize:20">
then the event:
events: {
click: function (e) {
//$('#dgA').datagrid('collapsed',false); //-----------> I tried....luckless
$('#dgA').datagrid('getPanel').panel('expand',true); //-----------> I tried....luckless
//$('#dgA').datagrid({collapsed:false}); //-----------> I tried....luckless
}
}
any help will be appreciated