Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Dynamic Columns Question
posted

Hi There,

Firstly I would like to apologise if this has already been asked and answered, but i have spent a couple of hours cruising through the forums looking for an answer to my question.

My problem is that I have a collection of entities, which are bound to the grid columns. Then for each entity in the collection, there is another collection, that i want to dynamically create columns for and bind to the grid. So for example I have a list of students and then for each student I have a list of the subjects the attend. The number of subjects is not neccesarily the same for each student either.

So my columns at the top would look something like:

First Name | Second Name | Subject 1 | Subject 2 | Subject 3

Is this possible?