This page describes JQL functionality in the #Table Grid Field#.
You can search for issues by the GRID_NAME and whether the grid has some data or not.
JQL query example
"Grid 1" IS NOT EMPTY
JQL search helper query format
The format of the query in JQL search helper is following: "GRID_NAME" <operator> <keywords>