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

Essential Grid - Dynamic Columns

Thread ID:





94110 Apr 22,2010 05:41 AM UTC Apr 28,2010 06:03 AM UTC WinForms 1
Tags: GridControl
Shreesha Shagarithaya
Asked On April 22, 2010 05:41 AM UTC


We have a scenario where we want to have dynamic columns in the grid. The following example will help you understand the problem better.

Let's say we have a financial statement for year 2008-2009 shown on grid as follows:

Fields 2008-2009
Income 100
Expenditure 70
Profit 30

When I have the data for the next year I need the grid as follows:

Fields 2008-2009 2009-2010
Income 100 300
Expenditure 70 200
Profit 30 100

Here, we want the statement of the year 2010 to be a new column and this can continue for many years for this client.

I would want to know how this can be achieved with Essential Grid for 'Windows Forms'.

Thanks in Advance,

Jisha Joy [Syncfusion]
Replied On April 28, 2010 06:03 AM UTC

Hi Shreesha,

Thank you for posting query to us.

Our bounded grids, GridDataBoundGrid and GridGroupingControl displays data that is presented by the unerlying datasource. If you add columns dynamically in the underlying datasource, then this will also get reflected in the grid.

Please let me know if you have any questions.



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