Treetable Index Column

Hi,
I try to dynamic index column (text) for a treetable with branches and drag and drop-functionality.
It should be like this:
id index-col text
… 1 something
… 2 something
… 2.1 something
… 2.2 something
… 3 something

And furthermore I am looking for an opportunity to disable (by css, grey color) a row (this is easy) and do not count this row into the index column.
The index-column is in the database a varchar field and should by dynamic. This means, if I drag and drop a row, the index-col-value should change wherever the dragged row is after dropping.

Can anybody help with this?

Thanks,
Martin

The following sample shows the basic templates with indices:

http://webix.com/snippet/e728355f

But that’s the raw indices. Exclusion of the “disabled” row requires calculations based on the count of items in branch ($count attribute ) minus previous “disabled” rows.