rvillamilj Posted January 7, 2008 Report Share Posted January 7, 2008 Hi, Is there a way to not show a group header if the group only contains one item? I'm trying to group by orders with products in each order but then if I have a single product order I'd like to just display it without the ' + order: 123 (1) ' header. Please advise, thanks! Ricardo V. Quote Link to comment Share on other sites More sharing options...
StephenP Posted January 7, 2008 Report Share Posted January 7, 2008 Hi, thanks for using Grid FX. That's an interesting idea, but currently it cannot be done. There would be several problems with introducing a capability like that. First, without a group header, the item could appear like it's inside another group (if there is a group above it). Also, if the grouped column is hidden, which is usually the case, there would be no way to indicate what the actual piece of data is without a group header. Can you think of any ways to avoid these pitfalls? Quote Link to comment Share on other sites More sharing options...
rvillamilj Posted January 7, 2008 Author Report Share Posted January 7, 2008 Hi Stephen, yes, I had thought of those pitfalls and they way I've been handling it is by having alternate colors by group, not by row. So if I have three items in one group, all three items have the same color and the next group (or single item outside the group) will have a different color and so on. Thanks! Ricardo Quote Link to comment Share on other sites More sharing options...
StephenP Posted January 14, 2008 Report Share Posted January 14, 2008 Good idea! Still, how would you show the data value that is normally put in the group title if the title cell is not there? Quote Link to comment Share on other sites More sharing options...
rvillamilj Posted January 14, 2008 Author Report Share Posted January 14, 2008 Well, that's exactly the goal, to completely hide the title cell when there's only one item in the group. I created my own solution using a highly customized Repeater control, it wasn't hard at all, but it would've been nice to use the gridfx. I'll post some pictures once I can get back to fix the colors to make it more user friendly. Thanks, Ricardo. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.