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

Prevent certain columns from being sortable

1 Answer 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christoph
Top achievements
Rank 1
Christoph asked on 26 Apr 2019, 12:23 PM

Hi,

I am wondering why it is not possible to prevent certain columns from being sortable. My grid is defined as sortable and as far as I understood the documentation I can specify a sortable-flag for each column separately. I prepared a small example where I want to exclude the product name column from sorting but you can still click on the column header and the sortchange handler is triggered. See the console output. Styling is interestingly not applied, i.e. the arrow does not appear there.

 

Thanks,

Christoph

 

https://stackblitz.com/edit/2ae8ye-urex5c

1 Answer, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 29 Apr 2019, 06:31 AM
Hi Christoph,

Thank you for getting in touch.

The issue was a known one and was just recently fixed and is currently working correctly in the latest version of Vue Native Grid here

If you have further questions or you observe other issue please let us know.

Regards,
Plamen
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Christoph
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or