This section contains few HTML samples written with VB script. To see a list of all properties, methods and events used in the
sample, click the Applies To button. If you want to see VBScript source code press the Sample Code button.
- Object Model - initializes grid from the layout file and loads data from
an XML file. Loaded data contains the grid's object model.
- Data Editing - demonstrates how to customize and control in-cell editing. In addition, sample
uses the TextArea control to record editing events.
- Appearance - demonstrates
how to customize grid's appearance.
- Styles - demonstrates how to use
built-in named styles.
- Countries
- demonstrates several BeeGrid features. Sample binds grid to the ADO recordset,
displays pictures in cells and cell tips, uses grid's grouping features to
group records, uses calculations and formulas to display summaries in
group headings. In addition, it demonstrates grid's Find feature.
- Groups - demonstrates
how to use groups and how to apply styles to group's header and footer.
- Data Binding - demonstrates
how to bind the grid to a recordset.
- Events - records grid events into the TextArea control.
- Controls - demonstrates
how to use the column's Control object.
- User Dragging - demonstrates
how to resize and move columns and rows. In addition, sample uses the TextArea control to record editing events.
- OLEDragDrop
- demonstrates how to use the OLE drag-and-drop features of the BeeGrid control.
- Preview Pane
- demonstrates how to create and use preview pane.
- Selection - demonstrates how
you can select a range of cells and then apply style to the selected range.
- Row Filters - demonstrates how to use row filters.
- Scroll Bars - demonstrates how to control scrollbar
appearance.
- Export HTML - demonstrates how to load
styles from the XML file. In addition, it creates HTML page created with the
grid's ExportHTMLString method.
- Exchange Rate -
demonstrates several BeeGrid features. First, it loads layout and data from an XML files. Then, an unbound
column (Change) is created and populated with data. Also, you can see how to use the CompareCells event to
sort an unbound column. In addition, the sample shows how to customize cell tip appearance.
- Minesweeper
- illustrates how to apply style by using the ApplyStyle method of the SGRange
object, how to use the SGCell object and how to use grid's HitTestObject method.
- Bridge
- demonstrates how to apply different styles to grid objects. Uses
the FormatText event to format playing cards. In addition, it shows how to export grid
to an HTML file.
- Chess
- loads the grid's layout that contains images used by value items. Uses drag-drop features to move images from one cell to another.