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

Records collapsing everytime

Hi,
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

4 Replies

MK Muthukumar Kalyanasundaram Syncfusion Team December 25, 2014 04:55 PM UTC

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


SV Supriya Varne December 29, 2014 06:16 AM UTC

Hi,
Sir this solution is not working properly .
Please give me another solution for this  problem


Thank you and Regards,
Supriya


SV Supriya Varne January 5, 2015 09:47 AM UTC

Hi,
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,
Supriya


MK Muthukumar Kalyanasundaram Syncfusion Team January 6, 2015 06:01 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon