How to update data in an existing grid


#1

Hi.

how to update data in an existing grid if datasourse change in the class “datasourse” when I finish editing a cell

Thanks,

Salvador


#2

Salvador,

You should reload your grid to have it display any changes that have been made to the datasource.

You can reload your whole grid by:

  • calling -reload to reload your entire grid.
  • calling -reloadRows: to reload specific rows (a specific row that you know has changed, for example)
  • calling -reloadColsAtIndices:. to reload specific columns

Thanks,
Jan