Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
grid layout problem when updating to the newest sources
posted

I have the following code:
@(Html.Infragistics().Grid(Model).ID("grid1").PrimaryKey("Id").DataSourceUrl(Url.Action("ListConversieCodes"))
.UpdateUrl("EditingConversieCodes")
.AutoGenerateColumns(false)
.Columns(column =>{
column.For(x => x.Id).HeaderText("Nr Id").DataType("number").Hidden(true);
column.For(x => x.SourceCode).HeaderText("Source Code");
column.For(x => x.SourceDesc).HeaderText("Source Description");
column.For(x => x.TargetCode).HeaderText("Target Code");
column.For(x => x.TargetDescription).HeaderText("Target Desc");
}).AutoCommit(true)
.Features(features =>{
//features.Sorting().Type(OpType.Local).Mode(SortingMode.Multiple);
features.Filtering().Type(OpType.Local);
//features.GroupBy().Type(OpType.Local);
features.Paging().PageSize(10).Type(OpType.Remote);
//features.Hiding();
features.Selection().Mode(SelectionMode.Row).MultipleSelection(true);
features.RowSelectors();
//features.Resizing();
features.Tooltips().Visibility(TooltipsVisibility.Always);
features.Updating().EnableAddRow(true).EnableAddRow(true).EnableDeleteRow(true).DeleteRowLabel("Submit")
.ColumnSettings(settings =>{
settings.ColumnSetting().ColumnKey("Id").ReadOnly(true);
settings.ColumnSetting().ColumnKey("Source_Code").EditorType(ColumnEditorType.Text);
settings.ColumnSetting().ColumnKey("Source_Desc").EditorType(ColumnEditorType.Text);
settings.ColumnSetting().ColumnKey("Target_Code").EditorType(ColumnEditorType.Text);
settings.ColumnSetting().ColumnKey("Target_Desc").EditorType(ColumnEditorType.Text);
});
})
.Height("360px")
.Width("700px")
.DataBind()
.Render())

When I use the loader with this sources:
@( Html.Infragistics().Loader().ScriptPath(Url.Content("~/Scripts/IG/")).CssPath(Url.Content("~/Content/css/")).Render()) (trial version from infragistics website 2012.2)
The columns "source code", "source description", "target code" and "target description" are showing and the column id is hidden. => OK
But when you hover a row the "X" (to remove a row) is displayed 4cm from the latest column. You can't click it.
With this version you have also the problem that the autocommit property is not working. You have todo it manually. Also the databind function is crashing in IE. Not in chrome and not in Firefox.

When I use the loader with this sources:
@(Html.Infragistics().Loader().ScriptPathhttp://cdn-na.infragistics.com/jquery/20122/latest/js/).CssPath(http://cdn-na.infragistics.com/jquery/20122/latest/css/).Render())

Everything is working, but the layout is not good. The data columns have a bigger width then the column headers.

Is this already a known bug? And how to solve it?

 

 

Parents
No Data
Reply
  • 4315
    Offline posted

    Hi, Tom.

    Sorry for the little bit late response, but I hope I will be able to help you.

    I can guess where the problem may come from. When using the locally installed version of IgniteUI controls you receive the IgniteUI clients-side UI java script and CSS files, as well as the MVC wrappers for the control. Locally the are synchronized, which means that the client scripts and server wrappers are having the same build version. When you start using the CDN then maybe you change the client script version, while the MVC wrappers stay the same version. You should know that using the scripts and wrappers locally and remotely is not a good practice, because the versions of the builds are different. You should use both locally or if using the CDN it's better to have only client-side code. You can tell me the local build number and we will compare it to the CDN one.

    Tom, thank you for the patience and I will wait your feedback.

    Best regards,
    Nikolay Alipiev

Children