Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
How to Find/Remove Empty Rows in ultragrid?
posted

Hai ..

I need to remove all empty rows in my ultragrid on Action 'Save'. What  are all the events would be advisable to remove empty row. Also how to find whether the selected row is empty or not.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    It depends what you mean by "empty". I assume this means that all of the values in all of the cells of the row are null or DBNull or maybe string.Empty.

    There's nothing build-in to the grid to automatically detect these. You would have to loop through the grid's Rows and then the Cells in each row and check each cell individually.

Children