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

How to access editor data without using a field? Or is a hidden field my best option?

$
0
0

I am slowly trying to move my codebase to be a more standalone editor driven so I can have editors open inside of other editors (nested editors). All of my customers keep asking if they could add items to dropdowns on the fly without being taken to another CRUD UI in another tab (if you have any alternative solutions for that I am all ears).

Currently, I have to have an instance of my DataTable table because not everything is a field. Some stuff is just data for display in the table and used as a reference for the editor. Think DeletedOnDate, that would not be editable but on editor open event might be used to change all sorts of things based on if a record is soft deleted or not.

I realize I could probably just use a hidden field for this data, but i didn't know if there was a "bucket" option I could use for my editor to have a deep well of data to use that are not fields. But for this to be really modular, I can't have my editor dialog rely on the table data in case I want to re-use all of my editor event logic inside of another editor.


Viewing all articles
Browse latest Browse all 82041

Trending Articles



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