I want to update headermenu data depending on some criteria. Is there a possible way that we can set the data dynamically similar to column names.
Hello,
You can access the headermenu by its ID stored in the datatable configuration as grid.config.headermenu. Then, you can work with the headerMenu the same way it goes with any data component, i.e. add, delete, update items:
var menu_id = $$("grid").config.headermenu;
$$(menu_id).add({
id:"new", value:"NEW"
});
http://webix.com/snippet/955dec1f
Just note that column and menu ids should coincide.
Thanks Helga.