Skip to content

Automatically exported from code.google.com/p/jquery-datatables-row-grouping

Notifications You must be signed in to change notification settings

meghanavc2b/jquery-datatables-row-grouping

 
 

Repository files navigation

Documentation for the RowGrouping add-in

Introduction

JQuery Datatables RowGrouping add-in is a additional plugin for the DataTables plugin. It enables you to easily handle grouping operations on the client side. This plugin is extension of the examle placed on the DataTables site with several additional options.

Details

RowGrouping plugin enchances datatables so you will need to apply this plugin on the table where datatables plugin is already applied. Example of the initialization code is:


$("#myTable").dataTable().rowGrouping();

This line of code group rows in the table by the first column. There are several stragegies that can be used for grouping (e.g. group by letters, year etc) - you can see details in the GroupingTypes page.

Options

RowGrouping plugin can be customized if you pass various options to the initialization code. Example of the customization using a plugin parameters is shown in the following example:


$("#myTable").dataTable().rowGrouping({iGroupingColumnIndex:5});

Using this line of code, row grouping will not be done by the first column - column 5 will be used instead. See more datails about plugin options on the [[Options]] page

Examples

There are lot of examples of row groung usage, You can either download them from https://github.com/djwoodward/jquery-datatables-row-grouping

About

Automatically exported from code.google.com/p/jquery-datatables-row-grouping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 79.5%
  • JavaScript 11.3%
  • CSS 9.2%