Search
2676 results 141-150
Forum
- 8th May 2018In a Standalone Editor is it possible to use the options (for a select control) from the data sourceset the options for a standalone editor select field: var optionsA = []; $.getJSON("php/lookupAdvisorsById.php", { term: "-1" }, function (data) { var option = {}; $.each(data, function (i, e) { option.label = e.text; option.value = e.id; optionsA.push(option); option = {}; }); } ).done(function () { enrEditor.field('est.HomeroomAdvisor').update(optionsA); }); Thanks to Allan for showing me how to do this.
- 11th Apr 2018Individual column searching select & text inputsThanks Kevin I am really struggling to work out how put a select field in column 1 only and leave input fields for the rest. Here is what i have already. http://live.datatables.net/jomoruma/4/edit Thanks Rich
- 28th Mar 2018Dynamic field type listYes, the select field type allows this (as does checkbox and radio). The update() method of each of those field types can be used to either append a single item to the list, or replace all existing options. Allan
- 15th Mar 2018inline editing for select dropdownCan you link to your page showing the issue please? The example you linked to appears to be showing the select field inline for me no problem. Allan
- 2nd Feb 2018Defer loading "select" lists from Ajax?get rid of the "select" field type. editor = new $.fn.dataTable.Editor({
- 1st Feb 2018Editor: Is there an API to manually access data the field type select uses?I'm afraid I'm not fully understanding what you are looking for here. Do you want the select field to not be enabled (i.e. have it as readonly)? If so, disable() or field().disable() is the way to do that. Regards, Allan
- 22nd Jan 2018Add Default to Select optionsEditor's select field does actually have an option to be able to use the placeholder as a value - placeholderDisabled and placeholderValue are the two properties of interest there: select. Allan
- 15th Jan 2018Setting default value select when dynamically loading datasome code in its select field type to handle this
- 29th Nov 2017select in formYes - the select field is the way to do this. If this example doesn't help to resolve the problem, could you post your full Javascript code please, and also the JSON response from the server when loading the data? Allan
- 18th Nov 2017Multi-Select field type (or other options) in Editor?is the built in select field type's multiple option. It