Hi,
I have two Kendo grids in my MVC page,. Each of grid inside its own <div> block. I need show them based on returned data. I code this “SHOW” condition in databound event. But have rendered issue (See attached image) when do that. If I remove the conditions, both grids showed correctly. Could someone help for the issue? Thanks in advance.
Function onDataBoundGrid1 (e) {
if (e.sender._data.length > 0) {
$("#grid1Div").show();
else {
$("#grid1Div").hide();
}
}
Function onDataBoundGrid2 (e) {
if (e.sender._data.length > 0) {
$("#grid2Div").show();
else {
$("#grid2Div").hide();
}
}