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

Essential Grid - Dynamic Columns

Hi,

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,
Shreesha


1 Reply

JJ Jisha Joy Syncfusion Team 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.

Regards,
Jisha

Loader.
Live Chat Icon For mobile
Up arrow icon