I am trying to use the method dataCount for a groupList and instead of returning a number it returns the following text: “function(){var c=!1;return c=a[b].apply(a,arguments)}”
I tried:
$$(“mylist”).dataCount;
and
$$(“mylist”).dataCount();
I am trying to use the method dataCount for a groupList and instead of returning a number it returns the following text: “function(){var c=!1;return c=a[b].apply(a,arguments)}”
I tried:
$$(“mylist”).dataCount;
and
$$(“mylist”).dataCount();
$$(‘mylist’).dataCount() will return count of visible items
Beware that it will return this count only when data is loaded and rendered.
Thanks, calling render method worked.
Anyway, it returns only the count of visible records in that moment (only the items of the group I selected). I need a way to know how many records are in total since I am trying to do a for each method to verify all records (showed or not)