Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

TreeGrid extension for jquery DataTables

License

NotificationsYou must be signed in to change notification settings

homfen/dataTables.treeGrid.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreeGrid extension for jquery DataTables@1.10.19

Demo

https://homfen.github.io/dataTables.treeGrid.js

Options

left: indent of children

expandIcon: expand icon html

collapseIcon: collapse icon html

Usage

the row data should contain a property "children" as blow:

{"data":     [        {            "name": "Tiger Nixon",            ...            "children": [                {                    "name": "Hermione Butler",                    ...                }            ]        }    ]}

the js initialization part as blow:

$('#example').DataTable({    'treeGrid': {        'left': 10,        'expandIcon': '<span>+</span>',        'collapseIcon': '<span>-</span>'    }});

License

MIT license.

About

TreeGrid extension for jquery DataTables

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp