This question is locked. New answers and comments are not allowed.
As the demo page(http://demos.telerik.com/aspnet-mvc/grid/filtering), I copy code to my project as the page suggest.
But I can not to click filter button next to column header like your demo. So I take a look on HTML of your demo page.
I met your demo page has a below javascript code. and in my page there is no that javascript code.
So my question is I have to add the javascript code manually or not?
I actually understand that the javascript code will be generate by Filterable() of your control
Thanks you for your time.
But I can not to click filter button next to column header like your demo. So I take a look on HTML of your demo page.
I met your demo page has a below javascript code. and in my page there is no that javascript code.
<script type=
"text/javascript"
>
//<![CDATA[
jQuery(document).ready(
function
(){
jQuery(
'#Grid'
).tGrid({columns:[{
"title"
:
"Order ID"
,
"member"
:
"OrderID"
,
"type"
:
"Number"
},{
"title"
:
"Contact Name"
,
"member"
:
"ContactName"
,
"type"
:
"String"
},{
"title"
:
"Ship Address"
,
"member"
:
"ShipAddress"
,
"type"
:
"String"
},{
"title"
:
"Order Date"
,
"member"
:
"OrderDate"
,
"type"
:
"Date"
,
"format"
:
"{0:MM/dd/yyyy}"
}], plugins:[
"grouping"
,
"filtering"
], total:830, currentPage:1, sortMode:
'single'
, ajax:{
"selectUrl"
:
"/aspnet-mvc/Grid/_FirstLook"
}});
});
//]]>
</script>
So my question is I have to add the javascript code manually or not?
I actually understand that the javascript code will be generate by Filterable() of your control
Thanks you for your time.