Hi Kavya,
You could download this :
Mendix Marketplace - Data Widgets
It contains a Datagrid 2 and also Filters for the Grid. One of these Filters is a String Filter and you can do exactly this what you descriped. You can search in the Column Name for “A” and all Values that starts with “A” will be shown in your DataGrid.
Hope this helps,
Good Luck