We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 09:20 AM

>>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 01:32 AM

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 02:38 AM

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 04:03 AM

It works fine.Thanks a lot!! Prathima

Loader.
Live Chat Icon For mobile
Up arrow icon