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
sohail653 said:Ok, is there a way that i can print another dummy grid for the text just after the data grid, or i make labels and put the text on those labels and then print those labels just after the data grid, at form level i make those hide or send to back. Kindly suggest me and if possible provide some example / code for the same.
No, the grid creates it's own print job and there is no way to add anything into that job. I still think using some fake summaries and a CreationFilter would be the best way to go.
sohail653 said:As far NetAdvantage tools are concern, actually i got my interest for .Net development, after knowing those superb tools you people have provided to make developers life easy, and my program is to develop applications using Silverlight.
I'm actual not very familiar with Silverlight, so it's possible that this is much easier to do in Silverlight. I recommend posting in the Silverlight forum if that's what you intend to use.
Hi Mike,
Ok, is there a way that i can print another dummy grid for the text just after the data grid, or i make labels and put the text on those labels and then print those labels just after the data grid, at form level i make those hide or send to back. Kindly suggest me and if possible provide some example / code for the same.
As far NetAdvantage tools are concern, actually i got my interest for .Net development, after knowing those superb tools you people have provided to make developers life easy, and my program is to develop applications using Silverlight.
Sohail Kazmi.
Hi Sohail,
You are trying to do something here that the grid is simply not designed to do. Most of the time in such a case, the answer would be something like "No, you cannot do that."
But because of the Infragistics Presentation Layer framework that allows you to modify the UIElements of the controls directly, it is actually possible to modify the grid to do what you want. So rather than simply telling you it's impossible, I am offering a potential solution.
Yes, this solution is difficult and there are some caveats, but you are asking for functionality that is very uncommon and simply isn't built-in to the grid.
Whether you decide to use VB6 or NetAdvantage is up to you and your requirements for your application.
That's really sad to know, and i thing Infragistics team should do some think for it.
As you said
"It also looks like you need quite a large space for this. That might cause a problem because each summary you add will cause a small performance hit."
Most of the time the grid has more than 2 or 3 or even more pages at print time so what would be affect on the performance ?, and isn't that involve more complexity for the developer ?, to hear that in "Yes", that would be really even more sad.
I don't know that i should mention this, but to seek guidance from you i m, that a part from this, programming in .Net, writing more and more code, so whats the difference between .Net and VB6, I think i should switch back to VB6 and or to Delphi.
The answer is still the same. The grid creates it's own print job, so there is no way to insert anything into the printout that isn't already in the grid. So you would still have to use a CreationFilter.
You would have to add the 'fake' summaries into the print layout, so that it does not affect the on-screen grid and then have the CreationFilter apply only to the print layout.