|
Rank: Advanced Member Groups: Member
Joined: 12/5/2007 Posts: 57
|
Hi,
I have 3 questions regarding the grid control, 2 regarding the pager settings and 1 regarding the button column.
1) I would like to be able to use 4 image buttons (first, next, previous, last) to switch to the appropriate page. As these are all set using html can I simply insert script for image buttons with the appropriate image files?
2) I would like to have the pager displayed on top of the grid as well as below, is this possible?
3) Is there anyway I can display and image (instead of text) in a button column?
Thanks
Gary
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
As to your questions:
1. You will need to set FirstPageButtonHtml, NextPageButtonHtml, PrevPageButtonHtml and LastPageButtonHtml respectively;
2. No;
3. You can use any raw HTML for your button text;
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 12/5/2007 Posts: 57
|
Hi,
I have tried your suggestion (even in your server mode demo) for setting FirstPageButtonHtml, NextPageButtonHtml, PrevPageButtonHtml and LastPageButtonHtml and nothing changes. When I put html images in my app I see nothing (as in no pager buttons).
When I changed your server mode demo app I simply added the word 'Page' after First and Last on the FirstPageButtonHtml and LastPageButtonHtml properties and though the pager buttons are visible the First and Last buttons do not display the changes I have made (i.e. the word Page that I added is not displayed)! Perhaps there is a demo you could point me to on how to do this?
Lastly, I find that even using the default buttons for button columns the row height is cutting off the bottom portion of the push buttons. Is there a way to adjust the row height so this does not happen?
Thanks,
Gary
|
|
Rank: Advanced Member Groups: Member
Joined: 12/5/2007 Posts: 57
|
Well, I don't know why but I seem to have resolved my pager issues and have it displaying graphics as I originally wanted. I still don't know how to set the row height though.
Thanks
Gary
|
|
Rank: Advanced Member Groups: Member
Joined: 12/5/2007 Posts: 57
|
I have figured out the row height issue but still have 1 more issue I need to resolve. I will create a new post for it.
Thanks,
Gary
|
|