Can anyone provide simple master/detail sample in MVC, where on master page i have a igGrid, and by clicking on Edit hyperlink i go to detail screen with couple of igEditors controls, and save functionality. I checked forums and help and didnt find any example
Thanks
You're almost there - you just have a little error in the definition of your link.Here's the definition that will do the trick:
"<a href='" + @Url.Action("Details") + "/${AccountNumber}'>${AccountNumber}<a>"
Cheers,Borislav
Thanks for a sample. I come up with solution to make first column id as Hyperlink and on Detail page i do my editing:
@( Html.Infragistics().Grid<
Merchant>() .ID("igGrid1").Columns(column =>
{
column.For(x => x.AccountNumber).DataType(
);
column.For(x => x.AccountName).DataType(
); Not sure if its right solution
Hi,I've attached a slightly updated version of the "Master-Detail Grid" MVC sample to my reply. There are only two requirements for running it:1. You need to have NetAdvantage for jQuery (either the 2011.2, or 2012.1 release) - personally I used 2011.2 for this sample and I'm referencing all CSS and JS files from a virtual directory on my IIS (http://localhost/ig_ui11.2) which corresponds to the folder where the product is installed (for example: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\jQuery)2. You need Microsoft SQL Express Server 2005 or later in order to work with the database that comes along with the sample project.Here's how the outcome looks like: With that said, yes, we don't have a sample that demonstrates the "master-detail" scenario in our Samples Browser (my current sample is an analog to what Telerik are showing: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx).However, a "master-detail" grid can be interpreted in another way: our igHierarchicalGrid (which I'm using in the sample and which has its own section in the Samples Browser: http://samples.infragistics.com/jquery/hierarchical-grid). For example DevExpress are using their own hierarchical grid for the "master-detail" scenario at http://demos.devexpress.com/aspxgridviewdemos/masterdetail/masterdetail.aspx.As for the forum thread you mentioned ... well, there they're discussing the ability to place custom content in the igGrid's cells (like a button or a picture) as well as the idea of a Row Editing Template.The first of these (placing custom content in the igGrid) is already simplified with the introduction of our Templating Engine as can be seen from this sample:http://samples.infragistics.com/jquery/templating-engine/multi-conditional-row-template Also as Angel mentions in that thread, we don't provide a Row Editing Template out of the box right now, but with some skillful use the igGridUpdating feature's public API, such a template is feasible.If we can assist you with any further clarification, just let us know.All the best,Borislav
This post make more sense
http://community.infragistics.com/forums/p/67477/345030.aspx#345030
But im surprise that Infragistics dont have samples like that