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

Get editor field from column?

$
0
0

I'm creating a custom pop-up window to handle searching & colvis on each column.
To do that, I'm just looping through columns().every() to add elements to the pop-up window.
It works great for text fields, but for drop-down fields with options, I want to have the user be able to select which values they want to see. I want to be able to get all of the options that editor uses to populate the drop-downs in the table.

Something like
dt.editor().field(fieldName).node()
would work fine, IF i could get fieldName from a column() instance... but I don't know how to do that. Is there any way to get an editor.field() instance that is attached to a dt.column() instance?


Viewing all articles
Browse latest Browse all 82399

Trending Articles



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