ui.igSplitter

ui.igSplitter_image

The splitter is a widget based on jQuery UI that manages layout into two panels with split bar and provides the end user with a rich interaction functionality including the ability to expand/collapse panel, and resize panels via split bar.

Code Sample

<!doctype html>
<html>
<head>
    <!-- jQuery Core -->
    <script src="js/jquery.js" type="text/javascript"></script>
    <!-- jQuery UI -->
    <script src="js/jquery-ui.js" type="text/javascript"></script>
    <!-- Infragistics Loader Script -->
    <script src="js/infragistics.loader.js" type="text/javascript"></script>
    <!-- Infragistics Loader Initialization -->
    <script type="text/javascript">
        $.ig.loader({
            scriptPath: "js/",
            cssPath: "css/",
            resources: "igSplitter"
        });
 
        $.ig.loader(function () {
            $("#splitter").igSplitter({
                height: "500px",
                width: "700px",
                panels: [
                    { size: "300px", min: "250px", max: "350px", collapsible: true },
                    { collapsible: true }
                ]
            });
        });
    </script>
</head>
<body>
    <div id="splitter">
        <div>First Panel</div>
        <div>Second Panel</div>
    </div>
</body>
</html>

Related Samples

Related Topics

Dependencies

jquery.js
jquery.ui.core.js
jquery.ui.widget.js
infragistics.util.js
infragistics.util.jquery.js
infragistics.ui.widget.js
infragistics.ui.splitter-en.js

Inherits

Copyright © 1996 - 2025 Infragistics, Inc. All rights reserved.