Records collapsing everytime
I am using Gridgrouping control.
I have Parent-Child Relationship in the control.
I want to change multiple rows values in child table.
For that I used "TableControlCurrentCellEditingComplete" event.
But when I change one row value,the table collapsed immediately.
I don't want ti collapse table until I click on '-' sign.
Please give me solution regarding to this.
Thank you and Regards,
Rasika
Hi Rasika,
Thank you for your interest in Syncfusion products.
We are unable to reproduce the reported query with “changing row value, the table collapsed immediately”. If you don't want to collapse table until '-' sign button is click, we have customize the sample. Please refer to it.
Please let us know if you have any concern.
Regards,
Muthukumar K
Attachment: Record_Range_Selection_Demo_b51e5bcb.zip
I am using Gridgrouping control.
I have Parent-Child Relationship in the control.
I want to change multiple rows values in child table.
For that I used "TableControlCurrentCellEditingComplete" event.
But when I change one row value in child table,the child table collapsed immediately.
I don't want to collapse child table until I click on '-' sign.
Please give me solution regarding to this.
Thank you and Regards,
Hi Supriya,
Thanks for the update.
We regret to let you know that we could not able to clearly understand your query with “changing row value, the table collapsed immediately”. So that we need some more details regarding your scenario. Please provide us details regarding issue with replication procedure or screenshot. It would be more helpful for us to provide better solution as soon as possible. And If you want to change the multiple rows values in child table alone in gridgroupingcontrol, you can use QueryCellStyleInfo event. Please refer the below code,
Code:
void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
{
GridTable tablechild = this.gridGroupingControl1.GetTable("Orders"); // child table
if (tablechild.CurrentRecord != null)
{
if (e.TableCellIdentity.ColIndex == 2 && e.TableCellIdentity.RowIndex > 0)
{
e.Style.CellValue = "text"; // particular column likewise you can add remaining column.
}
e.Handled = true;
}
}
Please let us know if you have any concern.
Regards,
Muthukumar K
Attachment: Collapse_cell_value_f87b0caa.zip
- 4 Replies
- 3 Participants
-
RA Rasika
- Dec 23, 2014 07:34 AM UTC
- Jan 6, 2015 06:01 PM UTC