How to control data injection in form1 to be different from table fom3
..
When entering a column of account text other than compact in the table "Pkacco" should open form3.
Then you should select the form3 record and rewrite the contents to form1 "Choose_button_Click"
Works fine when it triggers
when I use "TAB" but when I click the mouse does not validateb
How to do it in MdiParent.
Attachment: s_test2f_45f744dd(1)_ca719660.rar
catalog s_test2f_45f744dd(1) - program code
no catalog s_test2f - it's an attachment error - Please ignore
|
private void Form3_FormClosing(object sender, FormClosingEventArgs e)
{
// code snippet
//
//
_form1.gridGroupingControl1.TableControl.CurrentCell.IsModified = true;
} |
Hi Gregory,
Thanks for your interest in Syncfusion products.
We have analyzed your sample and we are able to reproduce your reported issue. In GridGroupingControl, CurrentCellValidating event will be triggered on mouse click when the current cell is modified/edited. According to your customization, when Cancel button is clicked, a value (%%) will be set to current cell, so IsModified property will be considered as False. Inorder to overcome the issue, IsModified property is set to True in the Form3.Form3_FormClosing event. Please refer to the below code,Code Example
private void Form3_FormClosing(object sender, FormClosingEventArgs e){// code snippet////_form1.gridGroupingControl1.TableControl.CurrentCell.IsModified = true;}
Sample Link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/GridGroupingControl-1282062048
Please let us know if you have any other queries.
Regards,Sindhu