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

Bind Column to row order

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 08 Feb 2017, 02:14 PM

I have a column ("Sequence") that will contain an integer. Is there some way to bind the column ("Sequence")'s value to the order?

 

I'd like to use the Sortable control with a Grid so that when they drag the row it will change the Sequence column's value to reflect the order.

 

How can I go about doing this?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 09 Feb 2017, 12:25 PM
Hello Alex,

The HowTo example below demonstrates how to achieve the requirement that you have:
Give this a try and let me know if other questions arise on this matter.


Best Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or