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
4032
Binding grid to business object
posted

Hi, I'm playing around to find the best approach to display my task schedule in win grid.

In the first column down, employees should be displayed. To the right, every column stands for one day containing the working task for one employee. My business object has therefore two lists of objects: One list of objects A (employe plans), and every object A has a list of object B (tasks per days).The same day can have more than one task.

Is it possible to bind my business object directly to grid? How I can achieve that the days are generated to columns not rows (pivot) ?

Another approach I'm thinking about is to use UltraDataSource and setup bands and columns from code depending of my business object.

Thanks for any suggestions.

Markus

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Markus,

    The grid doesn't have any built-in functionality to pivot the data. It only displays the structure the data source gives it.

    I'm not really sure I get the exact picture of what you want to do here, though. So you might be able to achieve what you want using CardView or maybe using some unbound columns. Since I don't understand it, it's hard to say if it can be done.

    Your idea of using UltraDataSource for the grid's structure is a good one. The UltraDataSource can act as a sort've intermediary between the grid and the data. You can even load the data on-demand by handling events of the UltraDataSource like CelDataRequested.

Children