All Projects → sinhashubh → datatable-examples

sinhashubh / datatable-examples

Licence: MIT license
Using DataTables plug-in for jQuery

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to datatable-examples

laratables-demo
Demo of the Laratables package
Stars: ✭ 21 (-27.59%)
Mutual labels:  datatables, datatables-serverside, datatables-ajax
jQuery-datatable-server-side-net-core
A simple Visual Studio solution using jQuery DataTable with Server-Side processing using .NET 5
Stars: ✭ 71 (+144.83%)
Mutual labels:  datatables, datatables-ajax
Django Rest Framework Datatables
Seamless integration between Django REST framework and Datatables.
Stars: ✭ 241 (+731.03%)
Mutual labels:  datatables
ColReorderWithResize
Column reordering and resizing plug-in for DataTables
Stars: ✭ 41 (+41.38%)
Mutual labels:  datatables
mongo-datatables
A package for using the jQuery plug-in DataTables server-side processing (and DataTables Editor) with MongoDB.
Stars: ✭ 14 (-51.72%)
Mutual labels:  datatables
laravel-vue-datatable
Vue.js Datatable made for Laravel
Stars: ✭ 153 (+427.59%)
Mutual labels:  datatables
editable-react-table
React table built to resemble a database.
Stars: ✭ 519 (+1689.66%)
Mutual labels:  datatables
Laravel Datatables Html
Laravel DataTables HTML Builder Plugin
Stars: ✭ 188 (+548.28%)
Mutual labels:  datatables
ant-table-extensions
Export, Search extensions to Ant Design's Table component.
Stars: ✭ 43 (+48.28%)
Mutual labels:  datatables
EasyDataTable
易用和全面的纯Ajax分页插件(中文)
Stars: ✭ 18 (-37.93%)
Mutual labels:  datatables
datatables.mark.js
A DataTables plugin for mark.js to highlight search terms in tables
Stars: ✭ 44 (+51.72%)
Mutual labels:  datatables
react-datatable
React-datatable is a component which provide ability to create multifunctional table using single component like jQuery Datatable. It's fully customizable and easy to integrate in any react component. Bootstrap compatible.
Stars: ✭ 72 (+148.28%)
Mutual labels:  datatables
POS---Point-Of-Sales
Point of sales proof of concept developed using Asp.Net Core 2.2. Features: Customer, Vendor, Product, Purchase Order, Goods Receive, Sales Order, Inventory Transactions and POS form.
Stars: ✭ 120 (+313.79%)
Mutual labels:  datatables
react-tisch
Table component for React and Bootstrap with real React components as cells
Stars: ✭ 17 (-41.38%)
Mutual labels:  datatables
powergrid-demo
⚡ PowerGrid fully configured in a Laravel project.
Stars: ✭ 38 (+31.03%)
Mutual labels:  datatables
mern-admin-panel
Admin-panel using ReactJs, ExpressJs, NodeJs, MongoDB and Bootstrap
Stars: ✭ 84 (+189.66%)
Mutual labels:  datatable-serverside
Laravel Datatables Buttons
jQuery DataTables Buttons Plugin for Laravel.
Stars: ✭ 192 (+562.07%)
Mutual labels:  datatables
laravel-datatables-scout
Laravel DataTables plugin to support Laravel Scout.
Stars: ✭ 12 (-58.62%)
Mutual labels:  datatables
trending-twitter
Simple dashboard for getting currently trending hashtags and topics on Twitter
Stars: ✭ 23 (-20.69%)
Mutual labels:  datatables
laravel-datatables-editor
Laravel DataTables Editor Integration.
Stars: ✭ 105 (+262.07%)
Mutual labels:  datatables

datatable-customized

Using DataTables plug-in for jQuery https://datatables.net

Demo

This is Server-side processing(description) example for jQuery datatables with the difference that even the headers are returned from API Having functionalities such as :

  1. Search
  2. Sort
  3. Expand Row
  4. Edit Row (Inline)
  5. Edit Multiple Rows (Inline)
  6. Fix Column/s (in progress)
  7. Custom Coloring (in progress)
  8. Column Visibility (in progress)
  9. Multiple Header Rows (With/Without Colspan) (in progress)

All you have to do is put the Datatable.htm and dt-custom.js in your website, change the API and endpoint URL's and handle required requests in API.

Example of Table Meta format that should be returned by GetTableMeta request

This request is setup functionalities needed. For eg. Is this simple data display with sort and filter? Or data can be inserted,updated or deleted?

{"Column":[
{"Name":"ORD_NUM","Editable":true,"Searchable":true,"Class":"ORD_NUM"},{"Name":"ORD_AMOUNT","Editable":true,"Searchable":true,"Class":"ORD_AMOUNT"},{"Name":"ADVANCE_AMOUNT","Editable":true,"Searchable":true,"Class":"ADVANCE_AMOUNT"},{"Name":"ORD_DATE","Editable":true,"Searchable":true,"Class":"ORD_DATE"},{"Name":"CUST_CODE","Editable":true,"Searchable":true,"Class":"CUST_CODE"},{"Name":"AGENT_CODE","Editable":true,"Searchable":true,"Class":"AGENT_CODE"},{"Name":"ORD_DESCRIPTION","Editable":true,"Searchable":true,"Class":"ORD_DESCRIPTION"},{"Name":"ID","Editable":false,"Searchable":false,"Class":"ID"}
],
"Name":"TableNameHere","Insertable":true,"Deletable":true}

Example of Table Data format that should be returned by GetTableData request

This request is main request which will return data from API and handle global search, column search and pagination.

{"draw":1,"recordsTotal":34,"recordsFiltered":34,"data":[{"ID":1,"ORD_NUM":"200100","ORD_AMOUNT":"1000","ADVANCE_AMOUNT":"600","ORD_DATE":"8/1/2008 12:00:00 AM","CUST_CODE":"C00013","AGENT_CODE":"A003  ","ORD_DESCRIPTION":"TYU"},{"ID":2,"ORD_NUM":"200101","ORD_AMOUNT":"3212","ADVANCE_AMOUNT":"1000","ORD_DATE":"7/15/2008 12:00:00 AM","CUST_CODE":"C00001","AGENT_CODE":"A008  ","ORD_DESCRIPTION":"TYU"}]}

Example of UpdateRowData request that should be handled appropriately on Server's side

Applicable if 'Editable' properties of column/s is set to true. In that case, on click on the column data in rows, the column/s will change to textbox and user can edit and save(by pressing enter). All columns are sent to API in POST request (JSON Array of Object) and API can run update as needed.

Form Data : [{"ORD_NUM":"200103","ORD_AMOUNT":"15001","ADVANCE_AMOUNT":"700","ORD_DATE":"5/15/2008 12:00:00 AM","CUST_CODE":"C00021","AGENT_CODE":"A005","ORD_DESCRIPTION":"SODA","rowid":"4"}]

Example of InsertRowData request that should be handled appropriately on Server's side

Applicable if 'Insertable' property of table is set to true. In that case, footer will have textboxes for all columns and user can insert and save(by clicking add). All columns are sent to API in POST request and API can insert the data.

Form Data : ORD_NUM=200103&ORD_AMOUNT=15001&ADVANCE_AMOUNT=700&ORD_DATE=5/15/2008 12:00:00 AM&CUST_CODE=C00021&AGENT_CODE=A005&ORD_DESCRIPTION=SOD4

Example of DeleteRowData request that should be handled appropriately on Server's side

Applicable if 'Deletable' property of table is set to true. In that case, a new delete column will be added to table and user can click for any row they want to delete. rowid is sent to API in POST request(JSON Array of Object) and API can delete the row/s.

Form Data : [{"rowid":"35"}]

For Expand Row, make changes in "format" function as needed.

Other than these, user will have the option to update all or delete all. For example, user searches the table for certain rows and want to edit them all at once, in that case, user will click the 'Edit All' button and all filtered rows will be changed to textboxes. Once user enters details as needed, they can click the save button right next to 'Edit All' and multiple UpdateRowData requests are called and handled by the API. In case, user wants to delete certain rows, they can click 'Delete All' button and multiple DeleteRowData requests will be created and handled by the API.

You can check server side API implementations below :

PHP API Example Dot Net Core API Example

Support

Reach out to me at one of the following places!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].