Ant Design Table Row Click
An enterprise class ui components based on ant design and vue.
Ant design table row click. You can use the gutter property of row as grid spacing we recommend set it to 16 8n px n stands for natural number. An enterprise class ui design language and react based implementation with a set of high quality react components one of best react ui library for enterprises. Specify datasource of table as an array of data. To display a collection of structured data.
A table displays rows of data. Uses defaultfilteredvalue to make a column filtered by default. Not every table will need every feature but we needed to make sure we were addressing these features. Use filters to generate filter menu in columns onfilter to determine filtered result and filtermultiple to indicate whether it s multiple or single selection.
You can set it to a object like xs. To sort search paginate filter data. At this point there is a click event in the row at the time there is a button in the row and there is also a lick event. We broke down the table into these components.
Use sorter to make a column sortable sorter can be a function of the type function a b. A table displays rows of data. Vertical gutter was supported after 3 24 0. And in fact i just want to trigger the event of the button do not trigger event of the row.
For sorting data locally. When i click the button the two events will be triggered. Pagination expanded view edit mode treatment of actions table customization cell. Myclass tr click function window location example html.
An easy way to make users aware that they can click on the row to change the cursor to. Add a bit of style. You can use a array to set vertical spacing horizontal vertical 16 xs. 2 3 3 yesmeck closed this nov 13 2017.
Can we break the table into smaller parts. The javascript above achieves the desired functionality but as it stands a user will not know that a row is clickable because it will look like any other table row. 32 for responsive design.