Hi all,
I want to display number of rows of my grid at the top of it.I added a summarysetting to Band[0] and set its Key(=Count), DisplayFormat(=Number of rows : {0:N0}), SourceColumn(=ID [hidden]), SummaryDisplayArea(=TopFixed) and SummaryType(=Count). also i set the GroupBySummaryDisplayStyle to SummaryCells and AllowRowSummaries to False (because i do not want to allow to user to change the type of summary with sigma button).
These settings works fine for my test ultragrid But not for main grid in my main project??!
I could not find the difference between these grids?
Hello mphoenix,
Are you sure that you are not loading a layout after executing this code? Could you please also take a look if there is not something else that could be overriding these settings.
If this does not work I will need to take a look at a sample reproducing the issue.
I will be waiting for your feedback.
Hi Boris and thanks for your reply. I have checked my codes in designer.cs and also in form_load, but i could not find anything that could override my settings.
Could you please tell me which kind of settings or codes can effect summary settings?
Thanks in advance.
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
There should be something about the summary settings overriding your code. Did you look if you are not loading a layout? Please note that this is an issue which is not happening out of nothing and if I am going to help you I will need a sample application which reproduces this behavior, I am running out of guesses here.