Hi Friends,
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,
Hi Bobby,
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.
1> http://waytoax.wordpress.com/2012/11/05/disable-filtering-in-grid/
2> you can Override the Task method of that Form by Disable the Task of Filtering
public int task(int _taskId)
{
int ret;
if (!_taskId == 2837) // Disable Filtering
ret = super(_taskId);
return ret;
}
I Hope it works…
Hi,
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.
Any ideas?
Thanks