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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

show columns

Thread ID:





30760 Jun 23,2005 09:46 AM UTC Jun 23,2005 01:39 PM UTC WinForms 3
Tags: GridControl
Hrvoje Voda
Asked On June 23, 2005 09:46 AM UTC

DataRow[] FGrows = db.dataSetUsers.FunctionsGroups.Select(sSelect); foreach (DataSetUsers.FunctionsGroupsRow row in FGrows) { DataSetUsers.FunctionsRow function = db.dataSetUsers.Functions.FindByFunctionID( row.FunctionID ); gridFunctions.AddColumn ( function.Name ,"Name" ); gridFunctions.AddColumn ( function.ShortName, "Short Name"); gridFunctions.AddColumn ( function.Description, "Description"); } How to show this columns ?

Administrator [Syncfusion]
Replied On June 23, 2005 11:31 AM UTC

Is gridFunctions one of our grids? What kind of grid is it? What is its datasource? Does this datasource have the columns you are trying to add, or are you trying to add ''unbound'' columns to the grid? What is gridFunctions.AddColumn? I do not think any our grids has such a method. If you will explain more about what you are doing, maybe we can suggest something.

Hrvoje Voda
Replied On June 23, 2005 12:11 PM UTC

It is a syncfusion grid with a method addcolumn. I have a datasource with data, and it all works fine, but I don''t know how to show this data into grid.

Administrator [Syncfusion]
Replied On June 23, 2005 01:39 PM UTC

>>It is a syncfusion grid with a method addcolumn. I do not know what this is. If you are using a GridDataBoundGrid, and have a DataTable that you want to see in the grid, you set: this.gridDataBoundGrid1.DataSource = this.dataTable1; and the columns and data in your datatable should appear in the grid. Here is a minimal sample. http://www.syncfusion.com/Support/user/uploads/GDBG_sample_762ae87d.zip


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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