ui.igTileManager

ui.igTileManager_image
The igTileManager is a layout control for rendering and managing data into tiles. The tiles are displayed in a responsive grid layout and the control provides corresponding layout configurations for each tile in terms to position (row and column spans) and dimensions (row and column position). The following code snippet demonstrates how to initialize the igTileManager control.

Code Sample

<!doctype html>
<html>
<head>
    <!-- Infragistics Combined CSS -->  
    <link href="css/themes/infragistics/infragistics.theme.css" rel="stylesheet" type="text/css" />
    <link href="css/structure/infragistics.css" rel="stylesheet" type="text/css" />
    <!-- jQuery Core -->
    <script src="js/jquery.js" type="text/javascript"></script>
    <!-- jQuery UI -->
    <script src="js/jquery-ui.js" type="text/javascript"></script>
    <!-- Infragistics Combined Scripts -->
    <script src="js/infragistics.core.js" type="text/javascript"></script>
    <script src="js/infragistics.lob.js" type="text/javascript"></script>
    <script type="text/javascript">
        var dataSource = [
                {
                    name: 'Douglas Crockford',
                    text: 'Douglas Crockford is an American computer programmer and entrepreneur who is best known for his ongoing involvement in the development of the JavaScript language, for having popularized the data format JSON (JavaScript Object Notation), and for developing various JavaScript related tools such as JSLint and JSMin. He is currently a senior JavaScript architect at PayPal, and is also a writer and speaker on JavaScript, JSON, and related web technologies such as the Yahoo! User Interface Library (YUI).',
                    skills: [
                        {description: 'JavaScript'},
                        {description: 'JSON'},
                        {description: 'HTML'},
                        {description: 'JSLint'}
                    ],
                    picture: 'http://www.caloni.com.br/blog/wp-content/uploads/crockford.png',
                    linkedin: 'http://www.linkedin.com/groups?gid=3165057&trk=group-name'
                },
                {
                    name: 'John Resig',
                    text: 'John Resig is the Dean of Computer Science at Khan Academy and the creator of the jQuery JavaScript library. He\'s also the author of the books Pro JavaScript Techniques and Secrets of the JavaScript Ninja. Currently, John is located in Brooklyn, NY and enjoys studying Ukiyo-e (Japanese Woodblock Printing) in his spare time.',
                    skills: [
                        {description: 'JavaScript'},
                        {description: 'JSON'},
                        {description: 'HTML'},
                        {description: 'jQuery'}
                    ],
                    picture: 'http://4.bp.blogspot.com/-0lrkys7OhZk/TZpreRxfdRI/AAAAAAAAATw/p5wLKETGAV8/s640/John_Resig-1-2.jpg',
                    linkedin: 'http://www.linkedin.com/groups?viewMembers=&gid=100943&sik=1360507269893&goback=%2Eanp_100943_1360507269892_1'
                },
                {
                    name: 'Bill Gates',
                    text: 'William Henry "Bill" Gates III (born October 28, 1955) is an American programmer, inventor, business magnate and philanthropist. Gates is the former chief executive and current chairman of Microsoft, the world\'s largest personal-computer software company, which he co-founded with Paul Allen. He is consistently ranked among the world\'s wealthiest people and was the wealthiest overall from 1995 to 2009, excluding 2008, when he was ranked third; in 2011 he was the wealthiest American and the second wealthiest person. During his career at Microsoft, Gates held the positions of CEO and chief software architect, and remains the largest individual shareholder, with 6.4 percent of the common stock. He has also authored and co-authored several books.',
                    skills: [
                        {description: 'Entrepreneurship'},
                        {description: 'VB'},
                        {description: 'Operating Systems'},
                        {description: 'Programming Languages'}
                    ],
                    picture: 'https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTsQmMNuOjP0IQwB-i_zomFPeFuIuIk8bhetuZdecvi9RtJ34-g',
                    linkedin: 'http://www.linkedin.com/company/8736?trk=tyah'
                },
                {
                    name: 'Jon Skeet',
                    text: 'Author of C# in Depth. Currently a software engineer at Google, London. Usually a Microsoft MVP (C#, 2003-2010, 2011-)',
                    skills: [
                       { description: 'C#' },
                       { description: '.NET' },
                       { description: 'Java' }
                    ],
                    picture: 'http://www.dnrtv.com/dnr_photos/JonSkeet.jpg',
                    linkedin: 'uk.linkedin.com/pub/jon-skeet/0/800/ba3'
                }
            ];
 
        $(function () {
            $('#dashboard').igTileManager({
              columnWidth: '50%',
              columnHeight: '50%',
              marginLeft: 10,
              marginTop: 10,
              height: 1000,
              width : 600,
              dataSource: dataSource,
              minimizedState: '<h3>${name}</h3><img src="${picture}" title="${name}" alt="error" />',
              maximizedState: '<h3>${name}</h3><img src="${picture}" title="${name}" alt="error" /><p>${text}</p>' +
                '<div style="clear: both">Skills:</div>' +
                '<ul>{{each ${skills} }}<li>${skills.description}</li>{{/each}}</ul>' +
                '<div>LinkedIn: <a href="${linkedin}" target="_blank">http://www.linkedin.com/profile</a></div>'
            });
        });
    </script>
</head>
<body>
    <div id="dashboard"></div>
</body>
</html>

Related Samples

Related Topics

Dependencies

jquery.js
jquery.ui.core.js
jquery.ui.widget.js
infragistics.templating.js
infragistics.datasource.js
infragistics.util.js
infragistics.util.jquery.js
infragistics.ui.widget.js
infragistics.ui.splitter.js
infragistics.ui.layoutmanager.js
infragistics.ui.tilemanager-en.js

Inherits

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