Author Topic: strNoRows issue in V5+  (Read 1780 times)

ralph1996

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 80
    • View Profile
strNoRows issue in V5+
« on: September 04, 2020, 09:31:41 pm »
Prior to V5 the strNoRows (pq-grid-norows div) would be displayed if there were no visible rows.  In v5+ it is only displayed if the grid contains no rows.


Prior to v5:
Code: [Select]
                if (v.empty(), 0 === o.totalVisibleRows) v.append("<div class='" + c + " pq-grid-norows' >" + a.strNoRows + "</div>");

v5+:
Code: [Select]
                data = that.pdata || [];
                $ele.find(".pq-grid-norows").css("display", data.length ? "none" : "");

The original behavior I believe is correct since from the user standpoint there are no rows visible so it makes sense to display the strNoRows message.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6282
    • View Profile
Re: strNoRows issue in V5+
« Reply #1 on: September 08, 2020, 05:20:14 pm »
Thanks, it's been corrected in upcoming version

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6282
    • View Profile
Re: strNoRows issue in V5+
« Reply #2 on: September 16, 2020, 03:57:39 pm »
This has been fixed in v7.4