Editor website link error
Editor website link error
http://editor.datatables.net/api/Editor.fieldTypes.html gives a 404 not found.
I am now at the point where I want to be able to change field types from straight text input to textarea and selects especially. Also want to be able to set the label width and input field widths. I was hoping this would all be in that bunged up page.
I am now at the point where I want to be able to change field types from straight text input to textarea and selects especially. Also want to be able to set the label width and input field widths. I was hoping this would all be in that bunged up page.
This discussion has been closed.
Replies
Allan
field.type string
The input control that is presented to the end user. The options available are defined by Editor.fieldTypes and any extensions made to that object.
That link you gave is the start of what is needed. Thanks. So far date blows up. I think checkbox and radiobutton need some undocumented options. Same for select.
Text, textarea and password work just fine.
Uncaught TypeError: Cannot read property 'RFC_2822' of undefined dataTables.editor.js:4065
The calendar looks terrible so there must now be some way to apply formatting. Hopefully in the Editor init block.
Thanks for pointing this out - I will ensure that it gets fixed.
> Uncaught TypeError: Cannot read property 'RFC_2822' of undefined dataTables.editor.js:4065
Can you give me the initialisation code you are using? This example shows that it should work, but there might be something in your configuration which is causing it to blow up: http://editor.datatables.net/release/DataTables/extras/Editor/examples/dates.html
Allan
http://editor.datatables.net/fields/#date
> Date input controls (uses jQuery UI's Datepicker, thus jQuery UI is a dependency if using this input).
I've seen some really nice calendar controls recently which use Bootstrap, they could be integrated with Editor in exactly the same way that I've done for the jQuery UI control. I hope to get a chance to do that some time soon.
Allan