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:-
I created a support case on your behalf with number CAS-140841-G5F2C8 and will continue to update you through it.
You can find your active cases under Account - Support Activity in our website.
Morning Stamen
I will update the sample application and will send it to you as soon as possible.
You said that you were not experiencing the problem with my sample, so would it be possible to zip the complete solution including the bin and references folder and email it to me so I may work through them both to see if I am doing something wrong when bringing in the new 2014.1
Please advise
I am just checking to see if you were able to update your sample. Are you still experiencing issues with the column templates?
I am looking forward to hearing from you!
I am looking forward to the updated sample! Please make sure you are seeing what's shown on the screenshots you sent earlier when running it with the latest version. Unfortunately, your previous sample seemed to work properly here making identifying the problem a lot harder.
I'll make sure to dig into it immediately after you post it.
This had no effect on the problem.
I will update my sample solution with your proposal and will forwrd for your comments.
This is having a severe impact on our development and needs to be resolved as soon as possible.