Hi,
How can i add an extra row or two after the summaries row in the grid which is bounded to a data-source. The purpose is to print some text on that newly added rows.
Regards,
Sohail Kazmi
There's no built-in way to add rows to the grid after the summary row. But you can have multiple levels of summaries. So if you just need some extra space to put some text, you could add some extra summaries to the same column and they will show up stacked on top of each other.
You could control the text of these 'placeholder' summaries either by making them Custom summaries and using an ICustomSummaryCalculator or by using a CreationFilter to manipulate the UIElements. It depends what you need to display and how much room you need to display it.
Hi Mike,
Thanks for your prompt replies, which are always very helpful. Back to my question, i actually i want to print some text like the following, for signatures / counter signs.
------------------------ ----------------------------- -----------------------------
Accountant GM Director
Kindly with the solution also provide some helpful code for the same.
Sohail Kazmi.
By the way, it looks like the forums mangled the text you put in here, so it's hard to see what you are actually trying to do.
I might be able to offer more specific advice if you posted a screen shot or a mockup of what you are trying to achieve. To attach a screen shot to your post, just go to the Options tab and attach an image file. It will show up at the bottom of your post.
Yes you are right, "the forums mangled the text", actually all the dotted lines are in one line and the text should be places underneath each line respectively. Hope the following would help to understand it better.
---------------- --------------- ---------------
As i have the background of VB6 and new to C#, i have achieved the same with FarPoint spread successfully, and i thing it was very easy doing with it, hare's the sample of the same.
And hare's the sample of ultraWinGrid on which i am working. The lines beneath the summaries are because i have enable to show Empty Row property, and i m not able to control the maxrows for the same, although i limit the no of rows to 15, but still they are many than that.
Kindly guide me for achieving the required task with some example code or the like.
Hi Dave,
Thanks for your suggestion, and kindly pay my best regards to Mike for those helpful replies.
Hello Sohail,
From looking at what you're trying to do, I believe our Reporting product would be a better solution. I am not all that familiar with that product, though, so I would suggest posting a question in the NetAdvantage Reporting (http://forums.infragistics.com/forums/default.aspx?GroupID=78) forum.
With reference to my previous post i asked "actually i m trying to use the grid as a report source, and i think i m wrong, am i ?, instead i should use reporting tool for that. Kindly guide me."
Actually the generated print with FarPoint, I treat that as a report, the same i m trying with the UltraGrid, am i wrong in my thinking or should i use a reporting tool for that ?, that's what i want to know.
Hi Sohail,
If you are interesting in the Reporting tools, I recommend that you post your question in the reporting forum here:
NetAdvantage Reporting - Infragistics Community
I'm not that familiar with those tools. :)
Hi Mike,With reference to your reply dated 12-09-2011 you mentioned "You are trying to do something here that the grid is simply not designed to do.", actually i m trying to use the grid as a report source, and i think i m wrong, am i ?, instead i should use reporting tool for that. Kindly guide me.