It´s possible to put a countdown jquery script inside a template of the dataView. I want show items with a limit of time and must show how many time there are for see.
I have a jquery countdown but don’t work. I think jquery don’t see the div I use for the countdown.
I make some tests and only work on the first item, and when select this one, dissapears. How I can solve this? I want to put the countdown on all the items, with differents times (for this I need recover data from the item).
By default dataview works in dyn. render mode - which means it renders items only when they are visible, so in common case it is not possible to attach custom jquery code to all items.
But you can
dataview.attachEvent(“onItemRender”, function(obj){
dhtmlx.delay(function(){
var html = dataview.locate(obj.id);
… do anything with html …
});
});
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan