onCollectValues

fires after a datatable has collected options

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

Example

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

Related samples

Details

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 best ui framework and page of javascript tree grid product.