Topic: MDBTableEditable Select Column and validation

rrolland free asked 4 years ago


I am looking for an example of how to pass a custom component for a given column with MDBTableEditable? For instance, how would you specify a select control instead of a textbox for a given cell? How would you additionally do validation on a given cell?


Jakub Chmura staff commented 4 years ago

If you want to validate cells in table editable you need to write your own logic to do that. We do not recommend using components in cells because this may be causing problems and that's why we don't have any examples for that in our documentation.

Best Kuba.


riazkanani free commented 4 years ago

I also would like to use a select dropdown inside a cell. Are you saying that isn't possible?


Jakub Chmura staff commented 4 years ago

Hi @riazkanani,

I didn't say that isn't possible. We do not recommend putting different components inside datatable and tableeditable. As I said before, by the time we introduce support for using components inside the table, you must write your own logic and do it at your own risk.

Best Kuba.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.21.0
  • Device: PC Desktop
  • Browser: Chrome 74.0.3729.108
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No