I want to disable the filter icons of the standard tool bar in Form .
The reason is I am fetching records by using Filter( ) of the data source.
If user clicks on the remove filter icon it is showing all the records instead the filtered records.
Thanks in advance,
Disable the Icon in Standard tool bar is not possible i think so . Because its managed By Kernal.
So there are two possible way to achieve your issue.
2> you can Override the Task method of that Form by Disable the Task of Filtering
public int task(int _taskId)
if (!_taskId == 2837) // Disable Filtering
ret = super(_taskId);
I Hope it works…
I need to do this, but just for one of three grids in a form. If I use the task method, the standard filter (ctrl + g) doesn’t work but in all the grids in the form. I need to disable the standard filter but just in one grid.