-
1. Re: extendedDataTable row height problem
ryanyoder Aug 19, 2011 2:52 PM (in response to healeyb)This is your lucky day because I just did this on one of my pages. The problem is that the TDs don't have a border, only the DIV inside the TD has the border in RF4.
So you shut off the borders on the DIV and turn on the borders on the TD. You also set your div to height:100%.
I put this style directive in my page and it works like a champ for me.
<style>
.rf-edt-hdr-c {
border-right:none !important;
border-bottom:none !important;
}
.rf-edt-c {
height: 100% !important;
border-right:none !important;
border-bottom:none !important;
}
.rf-edt-cnt td {
border-bottom: 1px solid #9FC0E9;
border-right: 1px solid #9FC0E9;
}
</style>
-
2. Re: extendedDataTable row height problem
healeyb Aug 20, 2011 7:16 AM (in response to ryanyoder)Ryan, it works like a dream for me also, thanks very much you've made my day. I'll have to
try and digest the finer points of your solution, it doesn't seem that I was even close in my
attempts to resolve this.
Regards,
Brendan.
-
3. Re: extendedDataTable row height problem
ryanyoder Aug 22, 2011 9:23 AM (in response to healeyb)Glad it could be of help.
I realized that I don't want auto sized rows on every table in my app so I have revised the css to the following code.
You now must use styleClass="autoSizeRows" for the CSS selector to pick up these changes.
I would not have been able to come up with this solution without the Firebug plugin for Firefox. Download it and learn it immediately if you do not have it.
It is a crucial tool in understanding html/css and allows you to play around with the css dynamically.
.autoSizeRows .rf-edt-hdr-c
{
border-right:none !important;}
.autoSizeRows .rf-edt-c
{
height: 100% !important;}
.autoSizeRows .rf-edt-cnt td
{
border-bottom: 1px solid #9FC0E9;}
-
4. Re: extendedDataTable row height problem
healeyb Aug 22, 2011 9:52 AM (in response to ryanyoder)Thanks, I'll try it. I use the google chrome developer tools which is equivalent to firebug I
think. I spend plenty of time figuring things out with this, but a good tip nontheless.
Regards,
Brendan.