Required scroll bar to be display on the grid on first load...It is working in chrome, but not in IE...
For this, I require an event when data loaded to the grid is complete.
I tried 'onFetchComplete' event, it is called multiple times because it uses lazy load approach...
Also made changes to the css of 'dojoxGridContent' class to apply overflow-y: scroll...
But is is not working...
Can anyone help me on this issue.
Source Code:
var mygrid = new EnhancedGrid({
id: "grid",
store: gridStore, //Data store passed as input
structure: gridStructure, //Column structure passed as input
autoHeight: true,
autoWidth: true,
initialWidth: width,
canSort : true,
plugins: {
filter: {
//Filter operation
isServerSide: true,
disabledConditions : {"anycolumn" : ["equal","less","lessEqual","larger","largerEqual","contains","startsWith","endsWith","equalTo","notContains","notEqualTo","notStartsWith","notEndsWith"]},
setupFilterQuery: function(commands, request){
if(commands.filter && commands.enable){
//filter operation
}
}
}
}, dojo.byId("mydatagrid"));
mygrid.startup();
#grid {
height: 20em;
}
<div id="container" class="claro">
<div id="mydatagrid" style="height:200px"></div>
</div>
Thanks