Hi all,
is there a way to start editor when I Programmatically select a row i datatabale?
Thank you
Can you please provide a snippet of the issue? As far as I can see, it works as expected:
Ok. I need to select first row of datatable after filterByAll but following code does not work, why?
__g.filterByAll();
__g.select(__g.getFirstId());
You can use the editCell and editRow methods.
Please check the related sample: http://docs.webix.com/samples/15_datatable/04_editing/03_multiple_editors.html
Yes, you’re right. My mistake.
Is there a way to known the max internal id of datatable’s items? Each time I insert a row into a serverside database table, I reload the rows into the grid which reflects the table, I need something that sounds like ‘getMaxId’ to individuate the last inserted row on table (the grid is always on and I insert blank rows using an add button)
var max = 0;
grid.eachRow(function(id){ max = Math.max(max, id); });
ok. thanks