Search Results
-
How Do I Refresh a Data Grid After Making Changes to a Template Through Script?
<p>The command ResetList redraws a data grid after having copied in fresh copies of any templates. Here is an example of how you might use it.</p> <p>## Get reference to group that serves as row template for data grid <br />put the dgProps["row template"] of group "DataGrid" into theRowTemplate<... -
How Do I Clear Data From a Data Grid?
Updated on: Mar 04, 2024
Clearing the data out of a Data Grid is as easy as setting the dgData (or dgText) of the Data Grid to empty.
set the dgData of group "DataGrid" to empty
-
How Do I Determine If the Data Grid Has Focus?
You can determine if the data grid has focus by performing the following check:
if the long id of group "DataGrid" is in the long id of the focusedobject then
## Data grid has focus
end if -
How Can I See What The Data Grid's Internal Array Currently Looks Like?
-
How Do I Get Aggregate Values for Columns?
Updated on: Mar 04, 2024
This lesson will show you how to add a custom property to a data grid that returns the aggregate value of a column. Usually this would be used with data grid tables but works equally as well with data grid forms.
-
How Do I Use A Template In Multiple Data Grids?
If your application needs to use the same style of data grid in multiple places in your project then you can easily share the same row template between multiple data grids. This lesson will show you how.
-
How Do I Export Data From A Data Grid?
Updated on: Mar 04, 2024
This lesson will show you how to get data out of a data grid.
-
How Do I Resize Columns?
Updated on: Mar 05, 2024
-
How Do I Sort By A Column?
Updated on: Mar 05, 2024
-
How Do I Override the Default Behavior For Rendering Data to a Cell?
<p>By default, a data grid table uses a single field object for each cell in a table and assigns the text property of that field to the cell's data. This lesson will show you how to quickly create your own script that determines how data is rendered in the default table cell. This can be useful f...