This is a migrated thread and some comments may be shown as answers.

Fixed Footer Rows

4 Answers 255 Views
GridView
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 09 Dec 2008, 09:00 PM
I would like to make sure that I am doing this the best way possible.  I would like to setup a display only grid that looks like the following:

Quantity     Description     Price     Total

1                xxxx                  9.99       9.99       Need to be able to set number of rows that are visible before scrolling
12              xxxx                 10.00   120.00      Row data will be supplied through code.
 ...
...
...
The rows above to scroll up as new rows are added
The rows below to be fixed in place
                                  You Owe     ####.## Some number including tax (not a summary of the above rows).
                                  You Paid    ####.##  Amount Customer Paid 
                                  Change     ####.##   Change Due Customer

How would you suggest accomplishing this,

Thanks,

James

4 Answers, 1 is accepted

Sort by
0
James
Top achievements
Rank 1
answered on 10 Dec 2008, 11:02 PM
I know that I can code this using an unbound datagrid and scroll the rows setting the current row and using ScrollTo, then manage the footer rows  myself through code overwriting the rows like in an Excel spreadsheet, however this would be alot of work, I was looking for a simpler solution.  The summary rows work like I want and are fixed at the bottom or top, however, I am not working with aggregate data.  I want to be able to specify certain values as stated in my previous post and have them as fixed rows at the bottom of the grid.  Pinning rows does not seem to be an option because they scroll to the top of the grid unless I am missing something.  Am I missing something simple or am I going to have to code the unbound grid using the API to manage each row as regards to whether the row is in a fixed area or a scrolling area?

Thanks,

James
0
James
Top achievements
Rank 1
answered on 11 Dec 2008, 02:35 PM
Any comments?
0
Jack
Telerik team
answered on 12 Dec 2008, 05:09 PM
Hello James,

Thank you for this question.

Currently RadGridView doesn't support fixed rows at the bottom. I can suggest you the following options:

1. As you mentioned, one possibility is to use summary rows. However, they can be pinned only at top.

2. Another option is to use a visualized grid. You should process the CellValueNeeded event in virtual mode in order to specify the cell value. Set the VirtualMode to true to turn on the virtual mode in RadGridView. See the "high refresh" example in our QSF for more details, as well as the provided documentation.

3. You could use a group box and labels in a separate control as an alternative solution.

We will consider adding the requested functionality in one of our upcoming releases.

I hope this helps. Do not hesitate to contact us if you need further assistance.

 
Sincerely yours,
Jack
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
James
Top achievements
Rank 1
answered on 12 Dec 2008, 06:10 PM

Jack,

 

Thanks, I just wanted to know what my options were.

 

James

Tags
GridView
Asked by
James
Top achievements
Rank 1
Answers by
James
Top achievements
Rank 1
Jack
Telerik team
Share this question
or