Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MVC Excel look and feel grid

Posted on 2014-02-01
1
Medium Priority
?
930 Views
Last Modified: 2014-02-02
I am looking for a clean example of a grid that is configured like Excel.

The grid will show 5 columns.
Scout Group#,  Email, F Name, L Name, Phone Number.

The grid will always show 20 rows.
(1) To add a new child, just type in any blank row.
(2) To edit a row just type of the existing data.  
(3) To delete a row, just blank out the columns.  Just like a basic ASP or Windows Grid.  

  I am pretty rusty at coding but I do have the JQuery DataTable showing the desired information.  I have not found a way to read the grid data back to the controller.

Can you point me towards an article or example that will do a task like this?  Including how to read back the entire grid during postback?

I do not need advanced features, performance is not a consideration.
Thank you.
0
Comment
Question by:wilfordrocks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
wilfordrocks earned 0 total points
ID: 39827708
For anyone else's reference, this link is excellent.
http://haacked.com/archive/2008/10/23/model-binding-to-a-list.aspx/
The simple inputs shown in the example work perfectly well in a table.

<table>
        <thead>

        </thead>
        <tbody>
            <tr>
                <td><input type="text" name="[0].Title" value="Curious George0" /></td>
                <td><input type="text" name="[0].Author" value="H.A. Rey" /></td>
                <td><input type="text" name="[0].DatePublished" value="2/23/1973" /></td>

----
 public ActionResult UpdateInts(ICollection<Book> ints)
        {

            return View(ints);
        }
0

Featured Post

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question