Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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 answered 6 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



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

  • 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