mtranter / mvctables Goto Github PK
View Code? Open in Web Editor NEWAn AJAX/HTML Table framework for ASP.Net MVC
An AJAX/HTML Table framework for ASP.Net MVC
Cannot set a CSS class for the EditorForColumn
method. At least I am not aware of any way to specify any class to be used for the input
element.
Example: the form-control
class from Bootstrap.
http://mvctables.azurewebsites.net/Northwind/Shippers
Just setup an configuration and returns it to the table
variable.
But does print out anything or how how to use the configuration to print out anything or how to use the returned value.
MvcTables depends on a JavaScript, but there is no mention of it anywhere on how to set it up, configure it or load it.
It seems to work to put @Html.MvcTableScript()
under the @Scripts.Render("~/bundles/jquery")
line in the _Layout.cshtml
file.
Do you have any ideas on a good way to implement functionality for adding records? My current thought is to do something similar to the Pagination, although currently it isn't working in my local repository.
.ConfigurePagingControl(p => p.SetContainerCssClass("pagination").SetPageSizes(10, 20, 30));
This works fine with Bootstrap 2.
But this does not work with Bootstrap 3 as the pagination
class gets set on the wrong HTML element.
http://mvctables.azurewebsites.net/Northwind/Orders
The FiltersModel
parameter passed into the ListOrders
method is unused.
In the sample app, on the ParentChild view, in the details section, there is a Line Total field which is calculated. It marks itself as sortable, and ideally it should be able to sort, but it cannot.
I am working on a fix in my fork
Haven't debugged this yet.
I have been noticing this glitch.
Calls the Build
method with one parameter, but the the method requires a secondary parameter, the int totalRows
parameter.
See the IEnumerableTableResultBuilder
interface.
It appears that:
return TableResult.From(entities).Build<InvoiceTable>(request);
should be
return TableResult.From(entities).Build<InvoiceTable>(request, 10);
The MvcTables NuGet package overwrites the web.config
file.
I will work on this in my fork.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.