Hi Kool People,
Is there a way or a setting attribute which I can set to hide KoolGrid when there is no data and grid is empty?
Keyur | |
Hi Kool People,
Is there a way or a setting attribute which I can set to hide KoolGrid when there is no data and grid is empty?
Posted Dec 16, 2015
Kool
|
|
Anthony Amolochitis | |
I can tell you there is no property that will do that. But, you can create a div on the page that is invisible. Then, on the grid load event on the client side you can create a function to check if the grid has rows. If it does, then change the div to visible.
Posted Dec 16, 2015
Kool - 1 person likes this post
|
|
Peter | |
Another idea: May be you check if you have any data for grid from the beginning, using count() function in SQL may be. In case that you have no data, you can just cancel building grid.
Posted Dec 16, 2015
Kool - 1 person likes this post
|
|