Am 20.03.2012 09:58, schrieb Fritz Zaucker:
> On Tue, 20 Mar 2012, [email protected] wrote:
>
>> Am 19.03.2012 23:06, schrieb Derrell Lipman:
>>> Hello,
>>>
>>> thayou, thats exactly what i need.
>>>
>>> only one question
>>> i try to add some border at bottom, because the lines between
>>> the cells should not be overlaped, but all i try margin, borders,
>>> paddings take no effect
>>>
>>>
>>> When you're writing a cell renderer, you're in the world of of HTML. If you
>>> study that little tiny method I provided for you, you'll see exactly what
>>> HTML is generated, and can determine how to alter it to fit your needs.
>>> Just telling us that nothing works, without showing what you've tried,
>>> doesn't give us anything to go on.
>>>
>>> Derrell
>>>
>>>
>> Hello,
>>
>> i try something like this
>>
>> 'border-bottom:', '1px solid black', ";",
>>
>> 'border:', '1px solid black', ";",
>>
>> same using padding,margin,..
> So, I guess, somewhere in the "something" is a problem ...
>
> If you post the relevant code section (or even better have a playground
> example), there is a chance that someone can help you.
>
> Cheers,
> Fritz
>
here is the full code. bottom-border i replace with some css style.
only bottom:1px solid black, shows a border, but thats not what i want
qx.Class.define("myapp.system.ui.table.cellrenderer.Color",
{
extend : qx.ui.table.cellrenderer.Abstract,
members :
{
createDataCellHtml : function(cellInfo, htmlArr)
{
htmlArr.push(
'<div class="',
this._getCellClass(cellInfo),
'" style="',
'background-color:', cellInfo.value, ";",
'border-bottom:', '1px solid black', ";",
'left:', cellInfo.styleLeft, 'px;',
this._getCellSizeStyle(cellInfo.styleWidth,
cellInfo.styleHeight, this._insetX, this._insetY),
this._getCellStyle(cellInfo), '" ',
this._getCellAttributes(cellInfo),
'>',
" ",
'</div>'
);
}
}
});
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel