Solved

MVC Excel look and feel grid

Posted on 2014-02-01
1
916 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 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