Search Results
-
How Do I Sort Records By A Specific Key's Values?
Updated on: Mar 08, 2024
You can sort the rows of a data grid form using the SortDataByKey command. Let's look at an example.
-
How Do I Create Rows That Can Expand/Contract?
Updated on: Mar 08, 2024
This lesson will show you how to make a Data Grid form with rows that expand and contract when clicking on an arrow.
-
How Can I Speed Up Drawing When "fixed row height" is False?
<p>When you set the dgProp["fixed row height"] property of a Data Grid to false the Data Grid must draw all records in order to determine the total height. That means that FillInData and LayoutControl are called for every record in the Data Grid. This can be time intensive depending on the amount... -
How Do I Open a Table Cell For Editing?
Updated on: Mar 08, 2024
<p>By default a table cell can be edited if the user double-clicks on the cell. This tutorial explains what goes on in the default column behavior so you can customize behavior if you would like.</p> <p>Note: The default column behavior is stored in button "Default Column" of stack "revDataGridL... -
How Do I Resize Columns?
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... -
How Do I Display a Contextual Menu When the User Clicks on a Column Header?
-
How Do I Customize A Table's Columns? Part 2
Updated on: Mar 01, 2024
A column template is nothing more than a Revolution control that is named after a column in your table. This control is located in the row template group for your data grid. This lesson will discuss how to create templates for columns in a data grid table.
-
How Do I Add a mouseDown Event To The Data Grid Without Breaking It?
<p>This lesson will show you how you to write your own mouseDown event in a Data Grid without breaking the default Data Grid behavior. You need to know how to do this when showing a contextual menu or if during the mouseDown event you want to use the data in the row the user clicked on.</p> <p>W... -
How Can I Select The Text in the Edit Field When It Opens?
<p>The default Data Grid behavior when editing cell contents is to put the cursor at the end of the field. This lesson will show you how to tell the Data Grid that all of the cell text should be selected.</p> <p>The technique described requires that you create a custom column behavior as outline...