Loading Skeleton for lazyload

0
Hi everyone,   i want to ask about how to use Loading skeleton for Datagrid 2. my issue is i don't understand what to fill on the Data loaded value. if i use "true" then the the skeleton loader doesnt show, but if use "false"  then the datagrid2 doesnt show because it always show the skeleton loader.    from the market documentation, i see that the value of dataloaded is "$currentObject/DataLoaded" but i cant find variabel in my case.   Thanks,   Yohanes
asked
1 answers
1

Hi Yohanes,

 

You need to create an object or boolean to tell the widget when to show the skeleton and when to show the actual data. You can also do this with an expression on the object which the dataview returns. That would look something like: $currentobject != empty. 

answered