EasyUI Forum
June 16, 2024, 11:30:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: datagrid column formatter does not work with edatagrid?  (Read 8351 times)
magicloud
Newbie
*
Posts: 9


View Profile
« on: August 17, 2012, 01:36:59 AM »

I am following the editable datagrid tutor, everything was fine.
Then I try to make one column from plain text to link. I just added formatter attribute to that column, then it seemed to stop working. The grid displayed as a 0 sized line since there was no data in it but a few divs.
What should I do?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 19, 2012, 06:31:22 PM »

The column formatter work fine with edatagrid. Could you post some part of your test code?
Logged
magicloud
Newbie
*
Posts: 9


View Profile
« Reply #2 on: August 21, 2012, 08:06:46 PM »

The column formatter work fine with edatagrid. Could you post some part of your test code?

Ah, I see. Sorry my lacking knowledge of Javascript. I need to write it like this:
<th formatter="(function(value, row, index){})"/>
« Last Edit: August 21, 2012, 08:15:05 PM by magicloud » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!