This question is locked. New answers and comments are not allowed.
Hi,
I am using the Grid Master-Details,Now my requirement is that i want to hide the details window if there is no data to display.
I have 3 level of master details relationship.if any one of the master record does not contain any child then i don't want to display in the empty window.So i want to hide the expand icon if there is no chaild record in a particular master record.
How it is possible?Please help me.
I tried this code,
But by Expression is not correct.How to find the master having any details??
Regards
Sreyas MN
I am using the Grid Master-Details,Now my requirement is that i want to hide the details window if there is no data to display.
I have 3 level of master details relationship.if any one of the master record does not contain any child then i don't want to display in the empty window.So i want to hide the expand icon if there is no chaild record in a particular master record.
How it is possible?Please help me.
I tried this code,
var row = e.row;
var dataItem = e.dataItem;
if (!dataItem.Expression) {
$('a.t-icon', e.row.cells).css('display', 'none');
}
But by Expression is not correct.How to find the master having any details??
Regards
Sreyas MN