The issue is resolved. It turns out that by using the corresponding standart  function  cellsClassName() , which provides each line with its own ccs, the problem is solved very simply and allows you to build any hierarchical structures.
………………
……………..
{ label: “ORGANIZATION”, dataField: “NameOrg”,align:’left’,
cellsClassName: (index, dataField, value, rowData, row) => {
var level;
var leaf’;
level=row.data.level; //  level hierarchy Org
leaf= row.data.leaf; // Customer
if (leaf) { return ‘level-6’}  //css for customer
if (level == 0) {
return ‘level-0’; // up level
};
if (level == 1) {
return ‘level-1’;
};
if (level == 2) {
return ‘level-2’;
};
if (level == 3) {
return ‘level-3’;
};
if (level == 4) {
return ‘level-4’;
};
}, /// end cellsClass name
	- 
		This reply was modified 1 year ago by 
Oleg Ilin.
	 
	- 
		This reply was modified 1 year ago by 
Oleg Ilin.