You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i adding preSelected column to rows and set selectableRowsPreSelectedField="preSelected" but in first time my rows is null because request is ajax call. when request is done and my rows is filled, pre selected not working.
i also test pre select option without ajax call and its work. i check source code and i understand rows must be filled in first time. but the most used for data table is ajax request.
Steps to reproduce the behavior:
selectableRowsPreSelectedField="preSelected"
clearSelectedRows={false}
selectableRows={true}
add preSelected field to all rows
call ajax request for fetch data
get data and set to rows
See rows not selected
Expected behavior
after ajax request is done apply pre selected rows
Thank you for your efforts
The text was updated successfully, but these errors were encountered:
I think you are right in that when data is updated the table is not re-rendering to new pre-selected rows. The initial design intent for this was to be set only once.
i adding preSelected column to rows and set selectableRowsPreSelectedField="preSelected" but in first time my rows is null because request is ajax call. when request is done and my rows is filled, pre selected not working.
i also test pre select option without ajax call and its work. i check source code and i understand rows must be filled in first time. but the most used for data table is ajax request.
Steps to reproduce the behavior:
Expected behavior
after ajax request is done apply pre selected rows
Thank you for your efforts
The text was updated successfully, but these errors were encountered: