fires after a datatable has collected options

void onCollectValues(string id,object data);
idstringthe id of the column
dataobjectthe object that contains options


datatable.attachEvent("onCollectValues", function(id, data){
    if (data.values[0].value == "")
    data.values[0].value = "Select something";

Related samples


Assuming you need to filter data via a dedicated popup. Datatable collects the necessary values and populates the popup with them. When all values are colleceted the onCollectValues event is fired.

Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of datatable html product.