Results 1 to 2 of 2
Thread: Jsp Tree Structure with Checkbox
- 03-17-2012, 10:54 AM #1
Member
- Join Date
- Mar 2012
- Posts
- 3
- Rep Power
- 0
Jsp Tree Structure with Checkbox
Hi,
I need Tree Structure in Jsp/Jquery which consist of Checkbox & when i select the Checkbox it select items within that item.I have jquery code but it doing nothing.
Pls suggest some solution its very urgent
Thanks
Umadatt
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="keywords" content="jQuery Tree Widget, Tree Menu, jqxTree, jQuery Widgets, jQuery Plugins, jQuery UI Widgets, jQuery UI" />
<title id='Description'>The jqxTree displays a hierarchical collection of items. You
can populate it from 'UL' or by using its 'source' property.</title>
<link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
<link rel="stylesheet" href="../../jqwidgets/styles/jqx.summer.css" type="text/css" />
<script type="text/javascript" src="../../scripts/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxscrollbar.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxpanel.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxtree.js"></script>
<script type="text/javascript" src="../../jqwidgets/jqxcheckbox.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var source = [
{ label: "Item 1", expanded: true, items: [
{ label: "Item 1.1" },
{ label: "Item 1.2", selected: true }
]
},
{ label: "Item 2" },
{ label: "Item 3" },
{ label: "Item 4", items: [
{ label: "Item 4.1" },
{ label: "Item 4.2" }
]
},
{ label: "Item 5" },
{ label: "Item 6" },
{ label: "Item 7" }
];
// Create jqxTree.
$('#jqxTree').jqxTree({checkboxes: true, source: source, height: '300px', width: '300px' });
});
</script>
</head>
<body class='default'>
<div id='jqxTree'>
</div>
</body>
</html>
- 03-17-2012, 04:31 PM #2
Member
- Join Date
- Mar 2012
- Posts
- 1
- Rep Power
- 0
Re: Jsp Tree Structure with Checkbox
Why don't you ask jQWidgets about it here: jQWidgets Forums. Their support is very helpful.
Similar Threads
-
CheckBox node tree with two diferent kind of nodes
By cdinesh1 in forum AWT / SwingReplies: 0Last Post: 02-03-2012, 07:02 AM -
Tree data structure
By Nacao in forum New To JavaReplies: 18Last Post: 08-23-2011, 06:26 PM -
Swing, How to Show The Selected Files and Folder In Tree Structure with CheckBox
By raghuana in forum AWT / SwingReplies: 4Last Post: 04-13-2011, 03:35 AM -
Tree Structure
By chiku in forum New To JavaReplies: 2Last Post: 01-27-2011, 08:31 PM -
Tree structure using JAVA
By trill in forum Advanced JavaReplies: 2Last Post: 05-27-2010, 11:02 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks