field().update()
field().update()
@allan , shouldn't there be a field().update() listed in the api ( https://editor.datatables.net/reference/api/ ) ?
This discussion has been closed.
@allan , shouldn't there be a field().update() listed in the api ( https://editor.datatables.net/reference/api/ ) ?
Replies
Nevermind. I see that it has to be implemented by the plug-in.
That's correct. The
update()method is specified on a per field type basis. In theselectfield for example it is useful. Fortext- not so much.It is perhaps a bit confusing that I decided that the field types can extend the built in API with their own methods, but I felt that it make the API flow a bit nicer when using it!
Allan