Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82465

Different editors depending on type?

$
0
0

I know how to create different editors and how to have one button for creating type A with editor A and another for type B, but how can I edit a table entry and get the correct editor?

Simple example:

Name, Type, Amount
Name 1, Type A, 100
Name 2, Type B, 200
Name 3, Type A, 150

That is, if I edit "Name 1" or "Name 3" I get the editor A and if I edit "Name 2" I get editor B.Is there an event for pre-open the editor that I can catch?

Also, the ideal idea would be to be able to switch editor by catching a type combobox change event, like a tabbed editor. If I could do that, I would only need one button and let the combobox be the event driver.


Viewing all articles
Browse latest Browse all 82465

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>