Disable filtering in Grid

Some time in the Form we can filter by our own value by Press Ctrl + G , but here some time we may receive the Range Value from Execute Query , SO user may neglect that value, in this situation we have to Disable the range for Particular field..

try this code in Execute Query;

this.query().dataSourceName('DataSourceName').addRange(fieldnum(DataSourceTableName, FieldName)).status(RangeStatus::Hidden);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s