Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using mui-datatable in my application ( https://github.com/gregnb/mui-datatables ).

(我在我的应用程序( https://github.com/gregnb/mui-datatables )中使用mui-datatable。)

The "Select All" checkbox in header checks all the records in the table.

(标头中的“全选”复选框检查表中的所有记录。)

How can i limit this to current page?

(如何将其限制为当前页面?)

Thanks

(谢谢)

  ask by Rana translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
260 views
Welcome To Ask or Share your Answers For Others

1 Answer

You may have to create your own customToolbar and creating your own checkbox that performs some logic that make rows being selected.

(您可能必须创建自己的customToolbar并创建自己的复选框,该复选框执行使选择行的某些逻辑。)

The number of rows being selected is dependent on the rowsPerPage .

(选择的行数取决于rowsPerPage 。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...