Topic: Is it possible to search the "editable" React table?
sedonawebservices pro asked 5 years ago
Hi, I am using the Search function on the DataTables. I also want to make them Editable. Is there a Search feature available on the Editable DataTables?
Jakub Mandra staff answered 5 years ago
Those two tables are separated, independent components.
Search functionality isn't implemented within Editable Table.
Davinder Virk free commented 5 years ago
How can you access individual item in DataTable?
Jakub Mandra staff commented 5 years ago
Hi,
If you mean that you want to attach click event on each table row, you just need to attach the method in data object, like so:
data: {
columns: [
{} ...
],
rows: [
{
...
clickEvent: () => handleRowClick(identifier)
},
....
]
}
Best,
Jakub
Jakub Mandra staff commented 5 years ago
Hi,
If you mean that you want to attach click event on each table row, you just need to attach the method in data object, like so:
data: {
columns: [
{} ...
],
rows: [
{
...
clickEvent: () => handleRowClick(identifier)
},
....
]
}
Best,
Jakub
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.1
- Device: Desktop
- Browser: Chrome
- OS: OS X
- Provided sample code: No
- Provided link: No