Skip to main content
ericc42
Known Participant
August 12, 2026
Question

Gridplus page counts when filtering down data to zero records

  • August 12, 2026
  • 2 replies
  • 22 views

Gridplus is to a very large degree doing exactly what we needed in one of our apps, great stuff.  However, business users are getting picky now as it seems like the plug-in might not be able to refresh paging counts at the bottom of the control if filtering down the data to 0 records returned.  Any record or records present returned by the query rule listed in the configuration will update the paging counts.  I didn’t see this in known bugs, but wondering if anyone has tricked a refresh by adding a ‘do nothing’ row in the case the filtering is down to 0 records, or if someone may have another idea. 

2 replies

rishikeshr4182
Inspiring
August 13, 2026

I would avoid returning a fake/dummy record just to force GridPlus to refresh.

if(
a!isNullOrEmpty(local!data),
{ type!MyRecordType(id: -1) },
local!data
)

 

Rishikesh
ericc42
ericc42Author
Known Participant
August 13, 2026

Thanks, yes, as a workaround I added a performant expression to get only the count given filters and passed that down into the interface part displaying the grid to toggle visibility if the filtered count was zero.  It seems like the control itself though has an issue updating the paging count if the queryrule behind it returns no records.