Topic: Is it possible to search the "editable" React table?
sedonawebservices pro asked 6 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 premium answered 6 years ago
Those two tables are separated, independent components.
Search functionality isn't implemented within Editable Table.
Davinder Virk commented 6 years ago
How can you access individual item in DataTable?
Jakub Mandra staff premium commented 6 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 premium commented 6 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
- User: 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