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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

wrap records into two or more grids or column arrays

Thread ID:





6621 Aug 19,2003 08:56 PM UTC Aug 20,2003 09:46 PM UTC WinForms 2
Tags: GridControl
Peter Schonefeld
Asked On August 19, 2003 08:56 PM UTC

Hi, I need to display as many dataset records on the screen as possible so was hoping to either: 1) bind one recordset to two grids; or 2) list two or more data records side-by-side on one row of the grid. eg: col1 col2 col3 col4 col5 col6 item name desc item name desc ==== ==== ==== ==== ==== ==== rec0 rec0 rec0 rec3 rec3 rec3 rec1 rec1 rec1 rec4 rec4 rec4 rec2 rec2 rec2 rec5 rec5 rec5 The challenge i can see is navigating such a spread of records. I would very much appreciate any suggestions on how best to implement this. Regards Peter

Administrator [Syncfusion]
Replied On August 19, 2003 10:25 PM UTC

I would try to do this using a virtual GridControl. In the QueryCellInfo event, you would have to map the e.RowIndex and e.ColIndex to the proper position in the DataTable that holds your dataitem for this position. Then you would set e.Style.Text = this.dataTable1.Rows[row][col].ToString() where row and col are the mapped values for e.RowIndex and e.ColIndex.

Peter Schonefeld
Replied On August 20, 2003 09:46 PM UTC

Thanks for the advice Clay. Pete


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

Live Chat Icon For mobile
Live Chat Icon