Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3740

precisions about dependent() 2 questions.

$
0
0

Hello everybody.
First:
Anybody could explain me the difference betwwen
1) editor.dependent('individual.id', console.log('tata'), {event: 'change'});
and
2) editor.dependent('individual.id', function(val, data, callback) {console.log('toto');}, {event: 'change'});

In my console 1) make one 'tata' 2) make two 'toto'. Why ?

Second. When i open the editor, an event 'change' is detecting why ? (so i have 'tata' and 'totox2 in my console. I would like detect changes in certain fields but not when the editor is open. Is it possible?
Thanks a lot.
Lionel


Viewing all articles
Browse latest Browse all 3740

Trending Articles