Solved

MVC Excel look and feel grid

Posted on 2014-02-01
1
923 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

628 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