datatable parse position

Hi,

I am not able to insert a record on the first position of your datatable as it seems 0 is the default last position. However to add a record on the first position of the datatable I need to use pos: 0

I currently resolved this by sorting the table afterwards, but to use pos 0 would be better.

Thanks

The default position or the newly added record - the add() method- is the last one, or -1, while 0 defines the first position. As far as I can see, it works smoothly: https://webix.com/snippet/de709a8a

If you mean the parse() method, there’s no way to specify the position of the newly added set, so sorting is the only option.

Thank you. I did mean parse() but add is better.

Rgds