lzorglub / datatables.aspnetcore.mvc Goto Github PK
View Code? Open in Web Editor NEWHtmlHelper wrapper for jquery DataTables
License: MIT License
HtmlHelper wrapper for jquery DataTables
License: MIT License
Replace
this.SearchValue = SearchValue;
this.SearchRegEx = SearchRegEx;
With
this.SearchValue = searchValue;
this.SearchRegEx = regex;
Thank you for this great contribution.
When jquery loading is deferred, as of now we get error $ is not defined and datatable initialization fails. It would be great if you could add support for this.
Render does not appear to be functioning correctly on the current 1.3.0 package.
Example branch where the package is installed instead of using a project reference.
https://github.com/Beffyman/DataTables.AspnetCore.Mvc/tree/example/CurrentPackageRenderIssue
Running the demo and looking at the ServerSide page shows that Renders aren't written to the table def json.
Any chance you can publish a 1.3.1/1.4.0?
(And can you include #7 in it if you do?)
Hi, it would be useful to add a custom css class to the table tag in order to customize the table created with a framework like boostrap etc.
thank you
regards
Thank you for this great contribution.
I'm missing the possibility to set the lengthMenu property. Can you implement it?
$('#example').DataTable({ lengthMenu: [[10, 25, 50, -1], [10, 25, 50, "All"]] });
https://datatables.net/examples/advanced_init/length_menu.html
Maybee you can create an option to insert PROPERTY-VALUE-pairs in general.
I tried to export all serverside data into excel but it is impossible I think.
Does anybody have any Idea?
Is there a way to bind to additional parameters, or how would one go about implementing that along with this library?
According to the documentation for datatables I have sent the following parameters up to the controller:
ajax: {
method: 'post',
url: './api/audits',
data: function (data) {
data.dateFrom = $('#dateFrom').val();
data.dateTo = $('#dateTo').val();
}
}
Any way to bind to these two additional parameters, or should I just pull directly from request?
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.