EasyUI Forum
May 19, 2024, 09:18:38 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: managing a treegrid  (Read 5895 times)
arawak
Newbie
*
Posts: 15


View Profile
« on: October 10, 2014, 02:43:43 AM »

hello,

I'm stuck in managing a treegrid:
1) I want to retrieve the relative value of a cell of a node and modified.

2) I wish all publishers resizer a row because they are smaller than the container.
   I have tried:
Code:
var editors = $ ('# tg') treegrid ('getEditors' rowIndex);
But as I dynamically creates publishers,
Code:
var col = $ (this) .treegrid ('getColumnOption', 's_raf'); 
col.editor = 'NumberBox;
I think they are still available ... so editors is null

Can you help me?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 10, 2014, 08:03:53 PM »

The 'editor' name should be 'numberbox' not 'NumberBox'.
Code:
var col = $ (this).treegrid ('getColumnOption', 's_raf'); 
col.editor = 'numberbox;
Logged
arawak
Newbie
*
Posts: 15


View Profile
« Reply #2 on: October 13, 2014, 01:38:56 AM »

Sorry, this is a mistake in the translation .   Shocked
The editor is type 'numberbox.
« Last Edit: October 13, 2014, 08:07:15 AM by arawak » Logged
arawak
Newbie
*
Posts: 15


View Profile
« Reply #3 on: October 14, 2014, 12:16:14 AM »

Help me, please ....
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!