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

Showing hidden rows after sorting (refreshing grid)

1 Answer 392 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 14 Jun 2017, 10:00 AM
I hide rows using jQuery hide(). But after column sort (grid.refresh()) these rows are shown again. How to prevent this behavior? Or what method should I use to hide rows?

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 14 Jun 2017, 01:59 PM
Hi Daniel,

Due to the fact that the table is re-rendered, any custom CSS classes or rules will be removed, in this case, "display: none;".

To overcome this, please check the answer provided in this forum post:
Regards,
Preslav
Progress Telerik
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
Daniel
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or