Hi Deepakraj,
sorry for coming back late, but I was very busy the past days.
Just take a closer look at the Sources of Qooxdoo at
qx.ui.table.cellrenderer.Abstract you will find what you have to
impement and for Exampel make a copy of qx.ui.table.cellrenderer.Default
in your Project and change the Method _getContentHtml to not useing
escape. Then you have to register your Implementation of Cellrenderer in
the TableColumnModel of your Table, you will find a Example in the "Demo
Browser" "Table 1", take a look at the Source-Tab.
@Qooxdoo - Team
since I'm not alone useing this kind of technic, we could implement a
qx.ui.table.cellrender.Html or PlainHTML. What do you think?
Regards Dirk
deepakraj schrieb:
> Hi dirk,
>
> I didn't get the clear idea about the html property... Can u tell me how
> to use it or give me a sample code to overwrite...
>
> regards,
> deepakraj
>
>
> Dirk Wellmann wrote:
>
>> Hi Deepak Raj,
>>
>> make a extend of qx.ui.table.cellrenderer.Abstract and override
>> _getContentHtml like I did:
>>
>> // overridden
>> /**
>> * TODOC
>> *
>> * @type member
>> * @param cellInfo {var} TODOC
>> * @return {var} TODOC
>> */
>> _getContentHtml : function(cellInfo) {
>> //return qx.html.String.escape(this._formatValue(cellInfo));
>> return this._formatValue(cellInfo);
>> },
>>
>> so String.escape is no longer used and HTML is interpreted by the Browser.
>>
>> Regards
>>
>> Dirk
>> deepakraj schrieb:
>>
>>> Hi friends,
>>>
>>> When I try to use the html properties in the setValue method
>>> of
>>> the table... I didn't accept it...How do it..
>>>
>>> The code I used :
>>> ----------------
>>>
>>> tableModel.setValue(colIndex,table.getFocusedRow(),"56"+"<html><br></html>"+"67");
>>>
>>> It displays the value in the table column like this
>>> 56<html><br></html>67
>>>
>>> I need to display like this... 56
>>> 67
>>>
>>> How to do this?
>>>
>>>
>>> regards,
>>> Deepak Raj
>>>
>>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>
>
>
--
Viele Gruesse
Dirk Wellmann
- - - - - - - - - - - - - - - - - - -
PIP The Webapplication Company
Dirk Wellmann
Hersteller Str. 9
37688 Beverungen
fon. : +4932229174242 (VOIP)
fon. : +495273210330
mobil: +491725267208
skype: dirk.wellmann
mail : [EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel