Title: Problem in datagrid Post by: MFS on February 22, 2017, 12:53:00 AM Hello.
I have problem in datagrid. All work fine, but on one case I dont know how to show data from db in right format. I use sqlsrv db. I table I have one filed that contain some sample data code for page. Code is: Code: <div class="fitem"> When open page with datagrid that contain filed with code sample, in datagrid show input. I want to see there only plain text, not component. How to fix it? Title: Re: Problem in datagrid Post by: stworthy on February 22, 2017, 08:12:36 AM Please define a 'formatter' function for the column to achieve this functionality.
Code: function formatItem(value){ Title: Re: Problem in datagrid Post by: MFS on March 09, 2017, 03:26:45 AM Can you write sample?
I try this, but dosnt work at all. Title: Re: Problem in datagrid Post by: stworthy on March 09, 2017, 03:43:51 AM Please look at this example http://code.reloado.com/ehedex3/edit#preview
|