We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with Syncfusion Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

42744 Apr 5,2006 11:53 AM UTC Apr 7,2006 06:23 AM UTC WinForms 1
loading
Tags: GridControl
Rahul Sharma
Asked On April 5, 2006 11:53 AM UTC

1) I m having a tree view and a datagrid. My task is to fill datagrid as per the item selected in tree view. 2)After assinging datasource to datgrid, I am setting width of columns as per table fetched from dataset. 3) It works perfect with very first table, but when the dataset again gets filled with another table having different numbers of columns it gives error "System.ArgumentOutOfRangeException at "Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor.get_Item(Int32 index)"" 4)For same tables with same no. of column as per first, columns are coming as per width but empty Code Snippet ''''Get Table as Per Selected Tree Node dsLoadAssetToGrid = clsSqlDatabase.GetDataSetFromStoredProcedure(cmdLoadAssetToGrid) dgAssetLocator.DataSource = dsLoadAssetToGrid.Tables(0).DefaultView ''''Set The width of the Columns per Datagrid Width For intColumns = 0 To dsLoadAssetToGrid.Tables(0).Columns.Count - 1 ''''Giving Error On this Line dgAssetLocator.TableDescriptor.Columns(intColumns).Width = dgAssetLocator.Width / dsLoadAssetToGrid.Tables(0).Columns.Count Next

Administrator [Syncfusion]
Replied On April 7, 2006 06:23 AM UTC


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;