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

RadListTreeView collapse row issue

3 Answers 107 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 12 Jul 2012, 12:39 AM
1. Expend one row in RadTreeListView
2. Edit one of the child cell in the grid
3. Click to collapse the row and expend it.
4. Changes reversed.

Attach to the currentcellchanged event:

the oldcell is null when collpase the row.

Any idea?

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 12 Jul 2012, 05:52 AM
Hello,

 I would like to ask you to share some additional details on your steps. You edit one of the cell but do you commit the edit before collapsing the row? Do you get this same problem with our latest binaries?

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Joel
Top achievements
Rank 1
answered on 12 Jul 2012, 06:12 AM
Yes, I am using the latest version.
I set the RadTreeListView commit when lose focus so I assume the cell will commit automatically when lost focus.

So yes, I collapse without call commitedit() manually.

Even worth, if the commit event is not fired, the cellvalidating event won't be fired as well.

The issue occurred in one of the demo for radgridview validation - you can give it a try. Drag the column to make a group, expand one row and delete one of the mandatory field. Collapse the row without click anywhere else. The validation won't work.

Now I have to attach to the LostFocus event. Get the view.currentcell.commitedit() manually.

Any better solution?
0
Dimitrina
Telerik team
answered on 12 Jul 2012, 06:21 AM
Hello,

 I have tested the demo for GridView validation but I did not encounter the problem as suggested. Indeed the validation does not work. The reason for this is that the edit is not committed yet. You will notice that you are not able to edit any other record before committing the current edit.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Joel
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Joel
Top achievements
Rank 1
Share this question
or