View Full Version : Showing a warning text when the grid is empty

16 Feb 2007, 6:31 AM

it seems like there's no default warning text attributes on the grid widget when the XHR call returns no rows. Has any of you guys succeeded in showing such messages when the grid is empty?

The emptyText property for the JsonView works very well though.

16 Feb 2007, 10:56 AM
I use PHP/mySQL for server-side

if the mysql_num_rows < 0 then I echo a zero data response

otherwise I echo the data