Hide/Show Selected Datatable Rows, not remove

Hi, is there a way to hide a row in a datatable? I need to be able to use the data in the row so removing it isnt an option. thanks

Hi,

You can make use of datatable filtering functionality:

var item = $$("datatable").getItem(row_id);
item.hidden = item.hidden?false:true;
$$("datatable").updateItem(4, item);

$$("datatable").filter(function(obj){
    return !obj.hidden;
});

http://webix.com/snippet/68419e96

Thats great! thanks Helga!

is there any way to hide a table and show it when certain condtion satisfy

$$("datatable").hide()

and

$$("datatable").show()

It works for any webix view.