1 of 1 people found this helpful
you could use columnClasses and rowClasses attributes. In general not sure that understand the question - screenshotes would be helpfull.
P.S. moving the thread into RichFaces space. RF Development - is for design questions of RF itself.
ok thanks for your replay,
if i use columnClasses and rowClasses style attributes am not getting exact alignment what i want.
So i need some more tips and techniques for accuracy.
for example if i use simple html code the alignment problems will be resolved easily.
like <table > and <div > tags are more helpful in my openion.
but comming to jsf <h:panelGrid > like elements not sure that ,will we get exact alignments even if using style classes also.
is there any editor for jsf and richfaces components like dreamweaver(for html) to resolve design problems as early as possible?
can you please suggest me if any?
thanks in advance
I'm not sure exactly what you want to do either, but since you say you could do it with div elements: Look at what HTML code the JSF elements create and style that via CSS, either with the existing class names or add your own. The styleClass attribute can be used on most JSF elements.
Also have a look at the RichFaces demo page for rich:dataGrid: http://livedemo.exadel.com/richfaces-demo/richfaces/dataGrid.jsf?c=dataGrid&tab=usage
The information there is nicely aligned, but mostly I guess because it's the same in the left column of all boxes. Otherwise you would probably have to set a width for the column.