Article Details
Id: | 11858 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 2.01.00 |
Opened: | 12/05/2014 |
Closed: | 12/05/2014 |
Released: | 27/06/2014 |
Job: | J013228 |
Page Sets; Grid binding enhanced
Binding of Page Set grids has been enhanced.
Previously, binding to a DataTable object would not fire the 'InitialiseRow' event for each of the DataTable's rows. You needed to bind to the DataTable's DefaultView object instead.
Binding has been enhanced when performing a VirtualDataRefresh with the following types:
- DataTable
- The DefaultView property will be assumed
- DataSet
- The DefaultView of the first DataTable will be assumed
NOTE: Because the DefaultView is bound to the grid, the InitialiseRow event of the grid should always refer to this rather than the DataTable or DataSet, e.g., MyDataTable.DefaultView(e.ListIndex).Value rather than MyDataTable.Rows(e.ListIndex).