[Bug] Treetable eachRow is filtered

Hello,

In documentation, that is indicated that the function eachRow is not filtered.
But see the example you can see that is filtered:
https://webix.com/snippet/8b24b223

Documentation: https://docs.webix.com/api__link__ui.treetable_eachrow.html

I use now this workaround if I want to have only $level = 1 (else we can use eachSubItem):
$$(“tree”).data.eachChild(0, function (row) {
var rowId = row.id;

}, this, true);

Note: In Datatable the eachRow is not filtered.

Regards,

I can confirm the issue, thank you for reporting.

Right now eachRow inherits from the ui.datatable and does not support hierarchical datasets. We will update this method for ui.treetable.

Still, in some use-cases TreeStore API is a recommended way to work with multilevel data rather than a workaround.

Hello Listopad,

Thanks. My workaround is to use Treestore :slight_smile:

Regards.