GlobalFilter items from PrimeNG datatable change rowIndex too

£可爱£侵袭症+ 提交于 2020-07-10 10:26:49

问题


Overflow Community, I want some help on Angular PrimeNG data-table. Currently what is happening is row-index is assigned against each row and works fine but when I apply search filter on row-index got updated again from 0.

What I want is to attain the row number against each row even after I search. You can see in the attached Screenshots for a better understanding. Pre-sales data has index 5 and after search it is updated to 0. All I want is to not update the index after search.

来源:https://stackoverflow.com/questions/62384671/globalfilter-items-from-primeng-datatable-change-rowindex-too

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!