Getting current changes in gridGroupingControl

Hi, In gridgroupingcontrol, I am not able to get the current edited column change value when the cellstyle is a combobox. I am using this.gridGroupingControl.Validate(); If I move from that column to the next column in the same row I get the current change.But when I am in the same column I don''t get. If the cellType is static I am getting correctly.for combobox I am not getting the same. Is there anything I should set..? Thanks and Regards, prathima I hv filled the combobox values from the db.I have given DisplayMember and ValueMember also.

4 Replies

AD Administrator Syncfusion Team June 21, 2005 02:20 PM UTC

>>current edited column change value Exactly what event are you using to try to catch this behavior? Is this an event on the grid or on the DataSource? If I inderstand what you are asking, you can try catching TableControlCurrentCellCloseDropDown even, and there call e.TableControl.CurrentCell.ConfirmChanges.


PV Prathima Venkobachar June 22, 2005 06:32 AM UTC

I am doing on the button click event. Previously when I had kept the focus on the editd column even the grid were not were not refreshing. After handling TableControlCurrentCellCloseDropDown event I am able to get the changes in the grid but not on the datasource I have bound to. When I do the getChanges of my dataset, I don''t get this change.


AD Administrator Syncfusion Team June 22, 2005 07:38 AM UTC

In your button handler, try calling EndEdit on the CurrentRecord.
if(this.gridGroupingControl1.Table.CurrentRecord != null)
		this.gridGroupingControl1.Table.CurrentRecord.EndEdit();


PV Prathima Venkobachar June 22, 2005 09:03 AM UTC

It works fine.Thanks a lot!! Prathima

Loader.
Up arrow icon