Thanks Sergey. It works, however, i wish that i could set this as a property on the table itself instead of a global constant. The thing is that i have a "hidden" table where each row is corresponding to a record in a DB-table. Now the hidden table/grid shouldn't show at all (it is just a invisible ...