The developer must define the row template(s) to use and provide data for a specific row when the DataView asks for it. It has no default UI for rows and it doesn’t favor one data source over another. The custom group is placed on a card wherever a DataView will be used. Out of the box a DataView doesn’t do much without some configuration. The DataView is a custom control made up of a group, some child controls of that group, and various behaviors scripts. The DataView then displays those rows using templates (groups on a card) specified by a developer. A developer feeds a DataView rows of data from a variety of data sources. See more in our Polygrid – In the Spotlight feature.Recently I announced that the source code for the DataView control was now available for LiveCode developers. Column resizing is supported and Polygrid extensively integrates with mouse events. It is highly customizable and can be used in a variety of ways, including as a popup (useful for building custom menus). Polygrid offers integrated scrolling management on both desktop and mobile platforms, so there is no need to use mobile native scrolling. There is support for the following data types: Scrollbar support for all platforms means your data is always easily accessible, regardless of device or screen size.Įach column has its own independent data type. With Polygrid you can quickly create beautiful tables with native scrollbar managed by the widget itself for all platforms supported by LiveCode, ensuring optimal performance. Polygrid is the perfect widget for developers who want to display data in a simple and modern way. Faster than the field, faster and less complex than the DataGrid. The Polygrid is very fast, when it comes to loading and rendering data. For example, in the script editor it can be used to display the list of breakpoints, improving the performance of the Script Editor. It can even be used in the IDE to display certain things. This widget helps users to display information in the form of a table, with many rich and flexible options. read more Robin Miller Responsive Layout Read more in our Responsive Layout – In the Spotlight feature. There are more properties, commands and functions, but these three properties are the heart of the library along with the updateLayout command. It will accommodate the children one below the other.Įach of these properties have various types and each type has different properties. This property defines how child controls are arranged within the parent to which the property is assigned.Įxample: set the content of target to “column” In the example the control is positioned in the center of its parent.Ĭontent: This can only be assigned to cards and groups, since, in a card, they are the only ones that can have child controls. Position: With this we can position an object with respect to its parent.Įxample: set the position of target to “center” In this example, the control will expand to fill the space left by the other controls. The three main properties are container, position and content.Ĭontainer: This can be assigned to any control of a card, it defines how the control behaves with respect to its parent.Įxample: set the container of target to “expanded” It consists of a set of properties that can be applied to objects. The basic idea of this library is that the user can customize the interface without a single line of code. If you need your app to scale in a browser or for different mobile devices, you need the ResponsiveLayout library.
0 Comments
Leave a Reply. |