Topic: Is it possible to search the "editable" React table?

sedonawebservices pro asked 4 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 4 years ago


Those two tables are separated, independent components.
Search functionality isn't implemented within Editable Table.


Davinder Virk free commented 3 years ago

How can you access individual item in DataTable?


Jakub Mandra staff commented 3 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 3 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • 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