416.467.9100 | Dundas Data Visualization | Login
Welcome Guest
This is the support page for the legacy Dundas Dashboard application. For assistance with the current Dundas BI application please click here.
Dashboard v5.0

This site makes extensive use of JavaScript.

Please enable JavaScript in your web browser and reload the page before proceeding.

DashboardDataGridView Class

Hide navigation
RSS
Modified on Thu, 12 Sep 2013 02:40 PM

Data grid view control.

DashboardDataGridView is abstract and a DashboardControl.

Properties

DashboardDataGridView has no additional properties.

Methods

ScrollTo

Scrolls to the specified item and column.


Arguments:

  • item - The item to scroll to.
  • dashboardColumn - The column to scroll to.
  • isScrollWhileVisibleEnabled - If set to true, scroll to cells that are currently visible.

ScrollToColumn

Scrolls to the specified column.


Arguments:

  • dashboardColumn - The column to scroll to.
  • isScrollWhileVisibleEnabled - If set to true, scroll to cells that are currently visible.

ScrollToItem

Scrolls to the specified item.

  • void ScrollToItem( object item )
  • void ScrollToItem( object item, bool isScrollWhileVisibleEnabled )

Arguments:

  • item - The item to scroll to.
  • isScrollWhileVisibleEnabled - If set to true, scroll to cells that are currently visible.

Example:

Add the following script to the Click interaction of a data grid. The data grid will scroll the clicked cell to the top of the grid, even if the clicked cell is currently visible.

if ( e.VisualElementArgs is DashboardDataGridCell ) { DashboardDataGridCell clickedCell = e.VisualElementArgs; DataGrid1.View.ScrollToItem(clickedCell.DataSource, true); }

Related topics



About Dundas | Contact Us Follow us on Twitter! | Privacy Statement | Report Site Issues

Copyright © 2009-2014 Dundas Data Visualization, Inc.