Hi All,
I am making use of UltraWinGrid in my application. I have added a column under the sortedcolumnscollection by default. So, by default my grid would be grouped by a column say "Project Number". I have added summary for many columns in my grid. I have given the summary display area as "InGroupByRows" and hence I would get the summaries in my group-by rows. Now, I would like to get the summary of all the group-by rows in the bottom. You can understand what am looking for below
I want the consolidated summary at the bottom apart from the summary in each and every group-by row. How could I achieve that? Any help would be of great use.
Regards,
Raghuraman.V
Thanks for the help.I am successfullfy able to achieve my desired UI by developing a custom combo using DropDownEditorButton .But the point is I have already developed a application by using Ultracombo. so I am finding is there any way to alter my Ultracombo to get the desired UI. I have followed your second advice and added a unbound column to Ultracombo. and then in Creation filter I have placed my desired UIelement in that column. Here i need help to resolve the following scenario.1. Is there any way to avoid the row selcetion (highlighting) in unbound column alone when any row is selcted in ultracombo or keydown key is pressed.2. I was able to attch the Button UI in column header area but not able to extend it to row collection area in that column. Is there any way to create a row span in that column. 3. Is there any way to get the entire column area (Header & Body) in creationfilter and add a button UI there. if so can you please share the source code.Sorry if I am not clear in any of the above points.Here my only goal is avoiding the row selection (Highlighting) in the Unbound column I have added. Thanks in advance.
Hi,
So you wanted a summary just to put some arbitrary UIElement on the left side of the grid? There's no way to do that with a summary.
I'm still not totally clear on what you are trying to do. Why would you have a dropdown with only a single row?
Anyway... there are a number of approaches you could take here.
You could make your own combo using the DropDownEditorButton and put an actual TableLayoutPanel in it with a grid on the right and whatever you want on the left.
Or you could add an unbound column to the UltraCombo and use the unbound column to position a button using a CreationFilter.
I am very sorry for the confusion.
My goal is that I have to customize the UI representation of Ultracombo dropdown displaylayout as like a tablelayout panel.
In which it will have 2 columns and one row. In the first column I need to place a Buttom UI element(on click on this button i will do some operation).and on the second column, it will hold my UltraGridUIElement which is present in Ultracombo.(on click of any row in grid i will perform another operation).I need to have a border b/w two columns.
The reason why I asked for summary is , Previously i have achieved the tablelayout panel kind of UI by using following method.
While initialize Ultracombo layout i will add the summaries in bottom and also i will set a creationfilter for Ultra combo.In AfterCreateChildElements method of creationfilter I will place my UIelements(Button,Label etc) in SummaryFooterUIElement.
By this way i can achieve a UI like , a tablelayout panel with 2 rows and one column. But i need to get a UI like a tablelayout panel with one row and 2 columns.
I need to achieve all these things in Ultracombo. I am very sorry for relating this to the current forum.
Could you please help me to achieve this .
I'm afraid I am very confused by your response. Your original post asked about a summary on the left, but everything in this reply seems to be referring to buttons.
Raja Subramaniyan said:Yes,I need to have the summary to the left side of the grid. why I need this is , I will place a ButtonUIElement there.
Why do you need a summary in order to put a button there? Or are you saying you need both a summary and a button?
Raja Subramaniyan said:I need to achieve the UI like a table Layout panel with 1 row and 2 columns.In which the first column will hold my ButtonUIElement and the second column will hold the Grid displaylayout. I am not using any row selectors. Also I am not using the summary to any rows.
If you need a button column, you can easily add an unbound column to the grid and set it's Style to Button. I don't see what that has to do with summaries.
Thanks for the reply. Yes,I need to have the summary to the left side of the grid. why I need this is , I will place a ButtonUIElement there.
I need to achieve the UI like a table Layout panel with 1 row and 2 columns.In which the first column will hold my ButtonUIElement and the second column will hold the Grid displaylayout. I am not using any row selectors. Also I am not using the summary to any rows.
From your response I hope we can achieve this by using Creation filter. Can you please attach the sample code to achieve this by using creation filter.
Thanks in advance.