Giter Club home page Giter Club logo

integrated-features-of-datatable's Introduction

Get Started

In this repository, You will get all basic required features integrated of Editor Datatable, like:

  • Export Button Collection : Copy, CSV, Excel, Print, PDF
  • Editor Buttons : New, Edit(single edit), Delete
  • Select Buttons : Copy selected rows, Select all, Deselect all
  • Column visibility button
  • Server side processing
  • Pagination
  • Multi column filtering
  • Responsive table
  • Fixed header
  • Shortcut Key activation
  • Column filter moved from table footer(default place) to table header

Shortcut keys

  • ctrl+a - Select all
  • ctrl+c - Copy selected rows
  • ctrl+x - Edit selected row
  • ctrl+c - Delete selected rows

Other shortcuts you can define, by using above sample snippets.

Installation

  1. Please see http://editor.datatables.net for details on how to purchase an Editor license or download a trial version of Editor from https://editor.datatables.net/download

  2. Extract the downloaded file .zip to your htdocs/ or www/

  3. We need folder php/ fully, examples/sql/mysql.sql file and js/dataTables.editor.min.js file from from extracted package.

  4. Create the database say name as datatable and import mysql.sql

  5. Paste dataTables.editor.min.js in root of your project directory. For all other CSS and JS files in this repository is imported using CDN.

  6. Rename php/ to plugin/ (for our convenience)

  7. For configuration of database settings open php/config.php. Your configuration will look like this :

$sql_details = array(
	"type" => "Mysql",   // Database type: "Mysql", "Postgres", "Sqlserver", "Sqlite" or "Oracle"
	"user" => "root",        // Database user name
	"pass" => "",        // Database password
	"host" => "localhost",        // Database host
	"port" => "",        // Database connection port (can be left empty for default)
	"db"   => "datatable",        // Database name
	"dsn"  => "",        // PHP DSN extra information. Set as `charset=utf8` if you are using MySQL
	"pdoAttr" => array() // PHP PDO attributes array. See the PHP documentation for all options
);
  1. Done. Enjoy!!!

Output

Output of Integrated Features of Editor Datatable

To build this, i have used datable jQuery Javascript library. source : editor.datatables

integrated-features-of-datatable's People

Contributors

rohankhudedev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

timkijja4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.