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
249
Underlying column headers at the top
posted

Hi,

I am evaluating IG UltraGrid to possibly replace a custom grid implementation. I used IG years ago, liked it, recommended it at my new workplace... now I need to get this thing to do some unusual things or it wont be accepted.

I have the following data structure: Alfa contains a list of Bravo, contains a a list of Charlie. Simple enough.

Here's a sample of the current grid (Pool Zone Nord B= Alfa, CI = Bravo, Blurred values = Charlie). The red areas usually contain numeric values as well.

Now what's the deal? The column headers at the very top need to be specific. In this case the 1st col header is void but essentially it could be "Name", all other columns are dates. Then it gets tricky: They expand values within this column structure. This differs from the usual way  hierarchies are displayed (non discussable). I hope the screencap helps as I find it difficult to explain.

I've tried flattening my data, which - when using grouping - partially fixed the problem. But I still can't get my column headers as a I need em: They are always displayed within the grouping and not on top where I need to be (kind of statically).

Forget about the totals for the time being, I'll be happy if I can get this "aggregation" (if that's the appropriate word) type of display.

Can anyone help? This is rather urgent and acceptance of the suite depends on it (quite a few potential licences actually).

 

Thank you,

Teun Segers

-EDIT-

Ok I figured how to het the labels where I need: HeaderPlacement.FixedOnTop solves my issue. However it also showed that my use of groups probably means I cannot display totals like in the old grid... not quite there yet.

-EDIT 2-

This mostly solves it: http://community.infragistics.com/forums/p/32384/176621.aspx

Although now they've told me they need to be custom calculated values, let's see if we can stick those in there...

Parents
  • 469350
    Offline posted

    Hi,

    Do you still have questions about this? :)

    Using HeaderPlacement should solve the problem of getting the headers to only appear once at the top of the grid. That's the right way to do it and I would have suggested that if you hadn't already found it.

    I'm not sure what your current issue is with the summaries, but you can make summary values display whatever you want. Worst-case scenario, what you would do is use an ICustomSummaryCalculator to calculate the summary value yourself.

  • 249
    posted in reply to Mike Saltzman

    Hey Mike,

    I got pretty far with the grouping and the totals and then I got bomb-shelled (again). Have a look at this:

    This is a more complicated sample of what i showed you previously. The major issue is this: I need controls (in this case checkbox, but drop downs also) on the grouping level. Considering the GroupByRow isn't really a row (AFAIK) i imagine this to be very difficult. Which seems to leave me two options:

    Plan A: Use standard grouping, remove the GroupByRow and enhance the underlying rows. Similair to http://community.infragistics.com/forums/t/40659.aspx. This seems difficult and might not get effect desired.

    Plan B: Completely customize the first row with a hideable button (to expand, collapse) and indent text as necessary. I can then programmatically control the Grid's filters to hide/show rows OnClick. This is very manual but right now seems to be my best option.

    FYI: All totals are calculated outside of the Grid (current situation and requirement). The grid needs to visually almost identical to the existing grid (IG acceptance requirement).

    I'd love your input at this point!

    regards,

    Teun

  • 469350
    Offline posted in reply to Teun

    Hi Teun,

    I'm not sure I understand either of your solutions.

    Teun said:

    What do you mean by "standard grouping?" If you mean, don't use GroupByRows, but instead set up your DataSource with a hierarchy, instead, then I'd say that's probably the best way to go. Then you can change the appearance and settings on the rows at the root-level so they are not editable, except in certain fields where you want dropdowns or checkboxes, etc.

    If it were just CheckBoxes, then you could probably deal with that manually. All you would have to do is trap for clicks on the CheckBox elements and toggle the state. But if you need a dropdown, also, then that becomes a lot more complex.

    Could you possibly use a ContextMenu instead of  DropDown? That would be pretty easy to do, and then you could keep using the OutlookGroupBy code you already have and no time would have been wasted.

    Teun said:
    Plan B: Completely customize the first row with a hideable button (to expand, collapse) and indent text as necessary. I can then programmatically control the Grid's filters to hide/show rows OnClick. This is very manual but right now seems to be my best option.

    I'm afraid you completely lost me on this one. I don't know what you mean or how this solves the issue.

Reply Children