redquerybuilder - How can I update the targetId of a particular RQB element? -
i have element on page, i.e.
i add together rqb element with:
redquerybuilderfactory.create({targetid:'foo1', meta:mymeta, onsqlchange:sqlchange, ontablechange:tablechange, enumerate:enumerate, suggest:suggest, editors : [ { name: 'date', format : 'dd.mm.yyyy' } ]}, sql, args);
i alter id of containing div via $('#foo1').attr('id','foo2');
how update targetid in rqb instance config 'foo2' matches containing div?
i think targetid used 1 time when widget setup. phone call value can find here: https://github.com/salk31/redquerybuilder/blob/master/redquerybuilder-js/src/main/java/com/redspr/redquerybuilder/js/client/redquerybuilder.java#l58
is there problem after alter id of element?
redquerybuilder
No comments:
Post a Comment