ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How can I add a filter to a awesomegrid
Title:
B
I
{code}
?
I have an inline editting turned on...I would like to add the mod for filter to this one column ..how do I accomplish that? Sample code below: new Column { Bind = "SourceIndicatorName", Header = "Indicator A" } .Mod(o => o.Inline(Html.Awe().AjaxDropdown("SourceIndicatorID") .CssClass("awe-txt selectMaxWidth").Controller("Validation").Action("GetIndicators").Area("SI"))) I want to add the filter something like the following: .Mod(o => o.Filter(type: FilterType.Multichk, clearBtn: true))
Save Changes
Cancel
Riya Dasgupta
asked at 17 Jun 2024
Answers
B
I
{code}
?
You could do that using the `.Flt` `Column` extension as shown here: https://demo.aspnetawesome.com/GridFilterRowServerSideData note: .Flt("Meals", type: FilterType.Multiselect), you could use Multichk instead of Multiselect
Save Changes
Cancel
Omu
answered at 17 Jun 2024
How may I download the grid filter extension..i don't seem to have it
at 17 Jun 2024
Riya Dasgupta
it was added in version 7.3, current version is 8
at 17 Jun 2024
Omu
Could you please advise the easiest way to upgrade the version? nuget package? if you have the appropriate page that goes over that please let me know.
at 24 Jun 2024
Riya Dasgupta
please have a look here: https://www.aspnetawesome.com/learn/mvc/CommonProblems#Problems-when-upgrading-to-a-newer-version
at 26 Jun 2024
Omu
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK