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

Datatable Editor form - select - ipOpts - Dynamic values

$
0
0
Hello Allan,

In the Editor form, when I set up the editor with a field of "type": "select" is it possible to generate a DropDownList dynamically from local database. I mean the "ipOpts" values will be dynamic?

Instead of doing it in this static form
"fields": 
[
	{
		"label": "Main Type:",
		"name": "type_main",
		"dataProp": "4"
		"type": "select",
		"ipOpts": [{ "label": "Type1", "value": "1" },
				   { "label": "Type2", "value": "2"}]
	}
]

Thanks in advance,

Viewing all articles
Browse latest Browse all 81679

Trending Articles



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