Skip to content

arun2pratap/expandCollapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expandCollapse

A Light weight plugin to expand collapse HTML table also works on top of jqGrid.

Demo

download expandCollapse_1.0.2 and run default.html inside demo folder

##How to use: Call the plugin on the HTML table elements to see the effect.

##Options:

	$(selector).expandCollapse(options);
	$('#myHTMLTable').expandCollapse({
	    colNumber: 1,
            isjqGrid: false,
            isHTMLTable: true,
	    showEmptyCell: true
	});

will group all the rows based on the data of Collumn 1 "colNumber: 1".

##Effects: You cand see the data of collumn 1 getting grouped and with expand collapse button.

##Additional:

You can call expandAll , collapseAll to expand all or collapse all.

$('#myHTMLTable').expandAll();
$('#myHTMLTable').collapseAll();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published