ADD A NEW ROW AN EDIT DATA

Hi. 
I would to ask about gridcontrol in winforms.

In What event can I "catch" the content added in a new row? Could you gave me an example?

is  There  a better way to catch the data edited in a row like this:



3 Replies

BT Balamurugan Thirumalaikumar Syncfusion Team August 16, 2021 11:02 AM UTC

Hi Jose, 

Thank you for interesting in Syncfusion products. 

We have checked your query “ADD A NEW ROW AN EDIT DATA” at our end. In order to achieve your scenario you can use the RowsInserted event, which will fire whenever new rows are added. You ca refer the following code snippet and sample for your reference. 

Code Snippet 
//Event Subscription 
this.gridControl1.RowsInserted += GridControl1_RowsInserted; 
 
//Event Customization 
private void GridControl1_RowsInserted(object sender, GridRangeInsertedEventArgs e) 
{ 
    //Do your customizations here 
} 


Please let us know if you would require any other assistance. we will be happy to assist you. 

Thanks & Regards, 
Balamurugan Thirumalaikumar  



JL Jose Leonardo August 20, 2021 03:26 PM UTC

Thanks a lot.
Now, How can I force to checkboxColumnGrid trigger RowVAlidation event?



BT Balamurugan Thirumalaikumar Syncfusion Team August 23, 2021 10:35 AM UTC

Hi Jose, 

Thank you for your update. 

We have checked your query “How can I force to checkboxColumnGrid trigger RowVAlidation event?” at our end. we would like to let you know that whenever the checkbox column value changed by click you can capture by using CheckBoxClick event. you refer the following knowledge base for your reference. 


If we misunderstood your query please let us know if you would require any other assistance. we will be always happy to assist you. 

Balamurugan Thirumalaikumar  



Loader.
Up arrow icon