Display HTML in SlickGrid Cells

3,263 views
Skip to first unread message

Sathish Kumar

unread,
May 21, 2012, 12:13:53 AM5/21/12
to SlickGrid, sathish...@infor.com
Hi,

I have a Slickgrid column which may contain HTML tags in it mostly <b>
tags only. I dont want to display those html tags instead i want to
display it as HTML. and show the text enclosed within the <b> tags as
bold only.

Is this possible?

Robert Stackhouse

unread,
May 21, 2012, 12:21:24 AM5/21/12
to slic...@googlegroups.com

Write a custom formatter.

Robert Stackhouse

unread,
May 21, 2012, 7:52:01 AM5/21/12
to slic...@googlegroups.com

Sathish Kumar

unread,
May 22, 2012, 2:53:47 AM5/22/12
to slic...@googlegroups.com
Thank you,

I just wrote

 function HTMLFormatter(row, cell, value, columnDef, dataContext) {
        return value;
 }

and it worked like charm.

cheers.
Message has been deleted

neoswf

unread,
May 29, 2012, 3:48:05 PM5/29/12
to slic...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages