DataTable ColReorder Filter not working
DataTable ColReorder Filter not working
macchha
Posts: 4Questions: 2Answers: 0
Hi Team,
Col Reorder with Filter
Steps to reproduce
1. Enter Any filter for the particular column
2. Change its position
3. Remove the filter.
Result: All the rows will not display also for next filter result is not proper.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi macchha,
The reason is that you're using the initial column index in your event callback - once the column moves, that index still refers to the original location.
This example here will work for you - the column indexes are calculated each time the event is triggered.
Cheers,
Colin
Thanks, @colin for your time. Let me check it.