Datatables editor - How can i have two different forms for New & Edit options?
Datatables editor - How can i have two different forms for New & Edit options?
gfong007
Posts: 7Questions: 3Answers: 0
in TableTools
Lets say my row has columns - A,B,C,D,E. When 'adding' a new row all five columns should be available on form. But once the row is added to the table, I want to disable editing on first three columns. So the 'Edit' Form should only show columns 'D' and 'E'.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
There are two options:
show()
andhide()
methods in combination withinitCreate
andinitEdit
to show and hide the fields as you need.Regards,
Allan