Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bantikyan/tablelist

Editor template for inline editing list of items. Supports ASP.NET MVC & Core.
https://github.com/bantikyan/tablelist

asp-net-core asp-net-mvc editor inline list model-binding post tablelist

Last synced: 3 months ago
JSON representation

Editor template for inline editing list of items. Supports ASP.NET MVC & Core.

Awesome Lists containing this project

README

        

# TableList

Build status

This package gives ASP.Net developers easy way of editing list of items with model binding. This means you can edit elements of your list inline, and all changes will be submited with form. For this purpose ```Html.TableListFor``` HTML helper was developed both for ASP.NET Core and ASP.NET MVC.

Usage is very simple. If your ```Model``` is a ```List``` or you have any ```List``` properties in your ```Model``` you want to make them editable, you simple need to derive them from ```TableListItem``` class and use ```Html.TableListFor``` HTML helper on your ```View```. All CRUD operations are supported.

## Table of contents

* Installation
* Basic Usage
* ASP.NET MVC syntax
* Color schemes
* License

## Installation

Library consist of back-end and front-end parts.

Front-end components can be installed one of the following sources:
* Install with [Bower](https://bower.io): bower install tablelist-mvc
* Install with [npm](https://www.npmjs.com/package/tablelist-mvc): npm install tablelist-mvc
* Install with [Nuget](https://www.nuget.org/packages/tablelist-mvc): Install-Package tablelist-mvc
* Use CDN [jsDelivr](https://www.jsdelivr.com/package/npm/tablelist-mvc)

Back-end components for ASP.NET Core:
* Install with [Nuget](https://www.nuget.org/packages/TableList.Mvc.Core): Install-Package TableList.Mvc.Core

Back-end components for ASP.NET MVC:
* Install with [Nuget](https://www.nuget.org/packages/TableList.Mvc): Install-Package TableList.Mvc

Also you can download the latest release:
* [Download the latest release](https://github.com//bantikyan/icheck-bootstrap/archive/3.0.1.zip)

## Basic Usage

First make sure you have linked css and js files: ```tablelist-mvc.css``` and ```tablelist-mvc.js``` or minimized versions. We use JQuery so link to jquery file must be before link of ```tablelist-mvc.js```. Also if you have some validation attributes, validation js files needed to be linked.

Your page may look like this:
```




...




```

To be continued...

## License

TableList released under the [MIT license](https://github.com/bantikyan/TableList/blob/master/LICENSE). Feel free to use it in personal and commercial projects.