Hello Telerik,
I have the following RadGrid on my page:
I then assign a DataTable to the RadGrid's DataSource property (on Page_Load):
Filtering is completely disabled when I run the website and view this RadGrid. Your documentation states:
My question is, how do I enable filtering then? Bare in mind AutoGenerateColumns is set to True, meaning when I call a Stored Procedure and populate a DataSet, I won't always know what the columns will be.
I have the following RadGrid on my page:
<
telerik:RadGrid
ID
=
"rgVehicles"
runat
=
"server"
AutoGenerateColumns
=
"True"
AllowFilteringByColumn
=
"True"
AllowPaging
=
"True"
AllowSorting
=
"True"
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
/>
<
GroupingSettings
CaseSensitive
=
"false"
/>
</
telerik:RadGrid
>
I then assign a DataTable to the RadGrid's DataSource property (on Page_Load):
rgVehicles.DataSource = dsVehicles.Tables[0];
rgVehicles.DataBind();
Filtering is completely disabled when I run the website and view this RadGrid. Your documentation states:
The built-in filtering feature is not supported when you bind the grid by explicitly calling DataBind().
My question is, how do I enable filtering then? Bare in mind AutoGenerateColumns is set to True, meaning when I call a Stored Procedure and populate a DataSet, I won't always know what the columns will be.