Just downloaded and installed latest 2014.1 Service Release (IgniteUI_20141.2249_SR)
When running my application I now get the following error when trying to open a page with the igGrid on it.
Please assist.
Hello Mark,
The RowTemplate option has been deprecated in 2014.1. To get your templating to work in this version you need to split it into column templates and add those to your columns definition.
I hope this helps! Please, let me know if you have any other questions and/or concerns!
Best regards,
Stamen Stoychev
Stamen
As I am new to Infragistics, please advise how this should be changed:-
<div> @(Html.Infragistics().Grid(Model.Rows.AsQueryable()) .ID("vmLoanList") .Width("100%") .Caption("Loan List") .AutoGenerateColumns(false) .RowTemplate("<td>${Id}</td><td class='rightAlign'>${AccountNo}</td><td>${GoodsDescription}</td>" + "<td>${AgreementType}</td><td>${Status}</td><td class='rightAlign'>${Balance}</td><td class='rightAlign'>${Arrears}</td>" + "<td class='centerAlign'>${NextInstDate}</td><td class='rightAlign'>${NextInstAmount}</td>") .Columns(columns => { columns.For(x => x.Id).DataType("string").Hidden(true); columns.For(x => x.AccountNo).DataType("int").Width("40px"); columns.For(x => x.GoodsDescription).DataType("string"); columns.For(x => x.AgreementType).DataType("string").Width("150px"); columns.For(x => x.Status).DataType("string").Width("110px"); columns.For(x => x.Balance).DataType("number").Width("110px").Format("0.00"); columns.For(x => x.Arrears).DataType("number").Width("110px").Format("0.00"); columns.For(x => x.NextInstDate).DataType("date").Width("100px").Format("yyyy-MM-dd"); columns.For(x => x.NextInstAmount).DataType("number").Width("110px").Format("0.00"); }) .DataBind() .Render() ) </div>
Many thanks
Did you have a chance to look into Stamen's suggestion? Was it helpful to you?
If you need any further assistance, please let us know.
Sincerely,
Tsanna
It did not work.
This is what I have before making the Template changes (Before01.jpg)
After making Stamen's suggested changes, I get (After01.jpg)
I don't know what I am doing wrong.
This is the code:-
Is it possible to provide a small sample reproducing this issue? Using the information from the screenshots I tried to recreate your use case and my tests showed the column templates working properly. The issue is then most likely caused by something in your application that I am not aware of.
I am looking forward to hearing from you!
I will put a sample together within the next 48 hours showing my problem and will send it to you for comment
Thanks
Hey Mark,
Did you have the chance to put up a sample?
Hi Boris
Please follow this link to Mike P in developer support.
https://www.infragistics.com/my-account/support-case/CAS-132577-C6Y4F2
I would appreciate urgent attention on this issue.
I downloaded the sample project attached in this case (CAS-132577-C6Y4F2) and tested it on my side. However I couldn't see any inappropriate behavior of the grid related to the column templates. Could you point me to the right direction about what should be the current issue in this project and how it should be reproduced (steps to reproduce it)? Looking forward to your response.
Attached is a pdf document with screen shots depicting the Template problem as well as the IE/Chrome problem with the igGrid Caption issue that was supposedly sorted out in 2014.1 Service Release.
Please revert back to me urgently.