We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DataboundGrid, empty datasource

Hi, I have a databound grid with a datatable as datasource, at first the datatable is empty, but an empty row appears in the grid, could you please tell me how can this row be hided if the datatable is empty so i display just the header row. Thanks in advance, Regards, Hicham,

2 Replies

AD Administrator Syncfusion Team January 27, 2006 03:28 AM UTC

Hi, you can set gridDataBoundGrid.EnableAddNew = false; Stefan >Hi, > >I have a databound grid with a datatable as datasource, at first the datatable is empty, but an empty row appears in the grid, could you please tell me how can this row be hided if the datatable is empty so i display just the header row. > >Thanks in advance, > >Regards, >Hicham,


AD Administrator Syncfusion Team January 27, 2006 09:27 AM UTC

Thank you very much Stefan it''s works Hicham,

Loader.
Live Chat Icon For mobile
Up arrow icon