Hi.
i'm using igGrid in a solution with multi projects, in my one of my views i have this code:
@inherits System.Web.Mvc.
WebViewPage<IQueryable<CxcModels.Models.tblPaises>>
@using Infragistics.Web.Mvc;
<h2>Catalogo de Pais</h2>
<
@(Html.Infragistics().Grid(Model).ID(
column.For(x => x.idPais).HeaderText(
}).Features(features =>{
features.Selection().Mode(
features.Filtering().ColumnSettings(settings =>{
settings.ColumnSetting().ColumnKey("idPais").AllowFiltering(false).FilterCondition("igual a");
settings.ColumnSetting().ColumnKey(
});
}).DataSourceUrl(Url.Action("Index")).DataBind().Render()
but i have a error in this code, because, JScrip thorw this error: "Can't use the propierty or method WIDGET", in a file js ig.ui.min.
somebody help me, thanks!!
column.For(x => x.Nombre).HeaderText(
@
using Infragistics.Web.Mvc;
h2>Catalogo de Pais</h2>
p>@Html.ActionLink("Crear Pais", "Create")</p>
"gridPaises").PrimaryKey("idPais").Height("400px").Columns(column =>{
"idPais").Width("150px");
"Nombre").Width("250px");
SelectionMode.Cell).MultipleSelection(true);
"idPais").AllowFiltering(false).FilterCondition("igual a");
"Nombre").AllowFiltering(true).FilterCondition("termine con");
}).DataSourceUrl(Url.Action(
"Index"
)).DataBind().Render()
Hi,
you also need to include javascript references to jQuery UI, and jQuery. Please refer to the following help topic:
http://help.infragistics.com/Help/Doc/jQuery/2011.2/CLR4.0/html/Deployment_Guide_JavaScript_Resouces.html
Thanks,
Angel