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.
Unfortunately, activation email could not send to your email. Please try again.

Records collapsing everytime

Thread ID:

Created:

Updated:

Platform:

Replies:

117829 Dec 23,2014 02:34 AM Jan 6,2015 01:01 PM Windows Forms 4
loading
Tags: GridGroupingControl
Rasika
Asked On December 23, 2014 02:34 AM

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

Muthukumar Kalyanasundaram [Syncfusion]
Replied On December 25, 2014 11:55 AM

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

Supriya Varne
Replied On December 29, 2014 01:16 AM

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


Thank you and Regards,
Supriya

Supriya Varne
Replied On January 5, 2015 04:47 AM

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

Muthukumar Kalyanasundaram [Syncfusion]
Replied On January 6, 2015 01:01 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;