vectornet / ajaxtable Goto Github PK
View Code? Open in Web Editor NEWLoad HTML tables dynamically using AJAX
License: MIT License
Load HTML tables dynamically using AJAX
License: MIT License
Is necessary yo build again
AjaxTable need a options
for build table, but isn't validated data, as examples below:
$('#table').ajaxTable(<?php echo $Grid->getJson(); ?>); //will work, send object
$('#table').ajaxTable('<?php echo $Grid->getJson(); ?>'); //will crash, because was passed string, not object
Then is necessary to validate data type before start build table.
json_encode support strings only in utf8, then class need to except this on failure
is reporting javascript error when try to sorting and if inspect button, don't have table id associated
Hi,
AjaxTable today support return only in json, but I think that is good idea to support return xml too.
Is the future :)
Today if you need run function after or before ajax data, you need to create function and set on setJsFunctionAfter
and setJsFunctionAfter
Today we set param for ajax as below
$('#table').setRequestParam('param1', value1);
$('#table').setRequestParam('param2', value2);
$('#table').setRequestParam('param3', value3);
But is good idea if is possible to set multiple param, as below
array.param1 = value1;
array.param2 = value2;
array.param3 = value3;
$('#table').setMultipleRequestParam(array);
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.