Available in the OSS Version
Tile Manager - Custom Size Tiles
This sample demonstrates instantiating the Tile Manager with specific width and height for each column.
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
This sample is designed for a larger screen size.
On mobile, try rotating your screen, view full size, or email to another device.
The tile manager gives you an opportunity to set specific width/height for each column by px, percent or * (fills the remaining space).
Code View
Copy to Clipboard
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <!-- Ignite UI for jQuery Required Combined CSS Files --> <link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" /> <link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/structure/infragistics.css" rel="stylesheet" /> <!-- Modernizr/jQuery/jQuery UI --> <script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script> <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> <script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script> <script src="/data-files/js-controls.js"></script> <!-- Ignite UI for jQuery Required Combined JavaScript Files --> <script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.core.js"></script> <script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.lob.js"></script> <script src="/data-files/philosophers.js"></script> </head> <body> <style type="text/css"> #philosophers { margin-top: -10px; margin-left: -5px; } .item-container { width: 100%; height: 100%; background-repeat: no-repeat; background-position: center center; background-size: cover; } .maximized-container { height: 100%; position: relative; } .item-name { margin: 0; color: #FAFAFA; font-size: 20px; text-shadow: 2px 2px 4px #424242; margin-left: 5px; } .item-quote { color: #424242; font-size: 30px; background: rgba(255,255,255,0.8); position: absolute; bottom: 0; padding: 10px; } .item-name-maximized { font-size: 30px; } .ig-tile-minimize-button { position: relative; } .ig-layout-item { padding: 0; border: none; } .ui-igtile-inner-container:hover { background-color: #EEEEEE; } </style> <div id="philosophers"> </div> <script type="text/javascript"> $(function () { $("#philosophers").igTileManager({ width: "100%", height: "620px", marginLeft: 10, marginTop: 10, dataSource: philosophers, columnHeight: ["200px", "150px", "*"], columnWidth: ["30%", "*", "250px"], items: [ { rowIndex: 0, colIndex: 0, rowSpan: 1, colSpan: 1 }, { rowIndex: 0, colIndex: 1, rowSpan: 2, colSpan: 1 }, { rowIndex: 0, colIndex: 2, rowSpan: 1, colSpan: 1 }, { rowIndex: 1, colIndex: 0, rowSpan: 2, colSpan: 1 }, { rowIndex: 1, colIndex: 2, rowSpan: 1, colSpan: 1 }, { rowIndex: 2, colIndex: 1, rowSpan: 1, colSpan: 2 } ], maximizedState: $("#maximized-state").html(), minimizedState: $("#minimized-state").html() }); }); </script> <script id="maximized-state" type="text/template"> <div class="item-container" style="background-image: url(${picture});"> <div class="maximized-container"> <h3 class="item-name item-name-maximized">${name}</h3> <div class="item-quote">${quote}</div> </div> </div> </script> <script id="minimized-state" type="text/template"> <div class="item-container" style="background-image: url(${picture});"> <h3 class="item-name">${name}</h3> </div> </script> </body> </html>
var controls = [ { name: "igGrid", description: "The igGrid is the fastest jQuery grid on the market and provides line of business features, touch support, and responsive web design features. You can bind the igGrid to a variety of data sources including JSON, XML, HTML tables, .NET collections, and even .NET DataTables. The igGrid works with popular open source libraries including KnockoutJS, History.js, JsRender, and Bootstrap." }, { name: "igHierarchicalGrid", description: "The igHierarchicalGrid is built on top of the fastest jQuery grid on the market, the igGrid. It adds the capability to display hierararchical data sets. You can bind the igHierarchicalGrid to a variety of data sources including JSON, XML, .NET collections, and even .NET DataSets. You can use the load on demand functionality to dynamically download only the data required for the current view." }, { name: "igTreeGrid", description: "The igTreeGrid control is a jQuery widget that displays data in a tree-like tabular structure. The control presents hierarchical data similar to the igHierarhicalGrid control, but the tree grid displays data all in the same columns. Rendering hierarchal data all with the same columns allows the tree grid to have superior render speeds while maintaining low memory and low DOM footprints. Further, the igTreeGrid also supports advanced interactive features that operate in the same way as the igGrid." }, { name: "igDataChart", description: "The igDataChart is an HTML5 chart control built with performance in mind. It can render very large data sets and includes tooltips, crosshairs, gradients, highlighting, and animation functionality." }, { name: "igPieChart", description: "The igPieChart is a charting control for rendering pie charts in HTML5 Web applications and sites. It uses the new HTML5 canvas tag to plot pie charts on web pages. The main features of igPieChart include legend, tooltips based on templates, controlling pie radius, controlling pie label position, start angle, sweep direction, exploded slices and distance from center for exploded slices. See the complete list of samples in the menu." }, { name: "igDoughnutChart", description: "The igDoughnutChart displays data similar to a pie chart and can display multiple sets of data around a common center. You can create a legend for the igDoughnutChart and also define categories, labels, and tooltips." }, { name: "igFunnelChart", description: "The igFunnelChart control is similar to the igPieChart in that it displays values associated with different categories. The igFunnelChart differs because the sum of the displayed values is not necessarily the total of a larger entity. Funnel slices are typically displayed sorted by value, either largest to smallest or in reverse order. The igFunnelChart supports slice selection, tooltips, and bezier curver rendering. See the complete list of samples in the menu." }, { name: "igRadialGauge", description: "The igRadialGauge control is a data visualization tool capable of displaying a gauge containing a number of visual elements, such as a scale with tick marks and labels, a needle, and a number of ranges. Create a scale by supplying minimumValue and maximumValue values and a needle can point to a value by setting the value property. The gauge also supports ranges, which provide visual cues for the scale. See the complete list of samples in the menu." }, { name: "igSparkline", description: "The Sparkline control is a data-intense, design-simple graphic that allows end users to spot trends, variations and patterns in data in a clear and compact representation. It supports the following chart types: line, column, area, and win-loss, and displays more details using markers, tooltips, normal ranges, and trend lines. See the complete list of samples in the menu." }, { name: "igHtmlEditor", description: "The igHtmlEditor control is a jQuery HTML editor control that features standard HTML editing capabilities. Formatting options include font face, font size, text and image alignment and link and table support. You can customize the toolbars and buttons to add additional functionality to the interface. See the complete list of samples in the menu." }, { name: "igTree", description: "The igUpload is an upload control that allows you to upload any type of files, sending them from the browser to the server. It handles single uploads (default) or simultaneous, multiple file uploads. With server-side configuration, the igUpload displays progress information during the file upload operation." }, { name: "igNotifier", description: "Notification widget offers more informative feedback about system state. It can be bound to the igValidator and the igEditors widgets. It has 4 different message states: success, error, warning and info, which can be shown either in inline or popover mode, while auto mode chooses those automatically. The popover mode, on the other hand, also has 4 different directions in which it can be shown - top, left, right or bottom. If there is not enough room for it to be shown in the chosen direction, though, it will be shown in the next available direction, following the order: top > left > right > bottom." } ];