1. How to get access programmatically
to GDBGrid.Binder new row ?
2. Tell me if my thought is correct.
From RowEditing event at a new row I call immediately Binder.AddNew
Binder row count shows 1 plus than
Currency Manager(DataView) which increased also. The previous new row
of Binder is now a detached row of
I do the editing and as I am leaving the row the Binder writes the data cached internally to the DataSource.
How to catch the event and to set values ?
One more ,
I haven''t all the fields of my DataRow
as columns of GDBGrid.
I set only few columns instead to set
all and hide which I don''t need
For this reason I call immediately
the AddNew at RowEditing so to be
able to set the values in Currency
Manager detached row.
I hope I follow the right way.
STstefan_tJanuary 14, 2004 04:54 PM UTC
Ok, I have solved this way
Is there any other more convinient way ?
ADAdministrator Syncfusion Team January 14, 2004 05:14 PM UTC
I do not know of a better way. This handles things dynamically (not depending on DataColumn.DefaultValue property), and you can initialize any fields, even those not display in the grid.