This is a migrated thread and some comments may be shown as answers.

Enable and disable GroupSplitter column to make ReadOnly grid numeric columns work in EDIT mode

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
NVB
Top achievements
Rank 1
NVB asked on 26 Jun 2012, 11:47 PM
I have 2 levels of grouping  and doing 'All Edit .  Basically I am putting  all rows in edit mode.

I have grid numeric columns and for business reason  I  will be making 3 out of  5 gridnumeric columns as readonly  ( which made to loose the formatting for readonly converted columns , so I have to read them in code(Databound event) and put back with formatting in the RadNumericTextboxes created for them) so I am loosing bound for those columns.

when  I am  in  'All Edit' mode if I collapse one of the group, basically I am loosing the display values of all 'readonly'  columns( the one which I populated thru logic).

Queston 1: How can I reatin the populated values if I am doing collapse and expand . FYI . The columns which are in Edit mode are fine.. only thsoe columns which are  editable but made readonly for business reason  loosing the values

Question2: If I can't achieve the above , how can I make collapse button ( the triangle one)  disable , so when you  first  "Edit ALL" it  expands everythig and  disable the collapse feature  in 'Alledit mode' , when  udpate is done I need to 'Enable' the collapse/expand feature'

Thanks for your help
 

  

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 29 Jun 2012, 01:10 PM
Hi,

Thank you for contacting us.

You could check this code-library project for a demonstration on how to persist group expanded state. Although your case is slightly different you could still use the same approach.

Give this suggestion a try and let me know if you need further assistance.

Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
NVB
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or