1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    3
    Vote Rating
    0
    lws is on a distinguished road

      0  

    Question 英文不好,我用中文,大家看得懂吗?

    英文不好,我用中文,大家看得懂吗?


    Hi~ all
    由于小弟的英文实在太差了,没办法,只好用中文向大家问问题。
    但我相信在这个论坛里,中国人还是不少的!

    最近,我遇到一个操作Tree的问题,不知道Tree可不可以实现"增,删,改,查"这些功能。
    也不知道她可不可以一次性把数据都读出来而不是仅仅读出一小部分!
    换句话说,不想用ajax那样访问后台的读数据!
    如果可以的话,可不可以提供一些小例子给我看看。

    谢谢大家了!

  2. #2
    Sencha User Arikon's Avatar
    Join Date
    Mar 2007
    Posts
    76
    Vote Rating
    0
    Arikon is on a distinguished road

      0  

    Default


    lws, this is an English forum. Translate your message to english, if you want to get an answer on it.

  3. #3
    Sencha User
    Join Date
    Apr 2007
    Posts
    14
    Vote Rating
    0
    feiji1983 is on a distinguished road

      0  

    Default


    哈哈,这哥们搞笑哈!
    帮你翻译下!不过我不是很明白你问的问题是什么意思,因为我也是新手,最近只是在用Grid

    translation:

    the guy wants to know if a Tree can be changed dynamicly ,for example:add & remove . he also wants to know whether it can get all of the items at once when query DB instead of get them use asynchronous method like AJAX.

  4. #4
    Ext User
    Join Date
    Apr 2007
    Posts
    3
    Vote Rating
    0
    lws is on a distinguished road

      0  

    Default 谢谢

    谢谢


    Quote Originally Posted by feiji1983 View Post
    哈哈,这哥们搞笑哈!
    帮你翻译下!不过我不是很明白你问的问题是什么意思,因为我也是新手,最近只是在用Grid

    translation:

    the guy wants to know if a Tree can be changed dynamicly ,for example:add & remove . he also wants to know whether it can get all of the items at once when query DB instead of get them use asynchronous method like AJAX.
    谢谢这位大哥的翻译,我也是最近才使用ext的,感觉还是比较好用的,只不过,没有中文的文档
    唉!在异乡的论坛上遇到同乡,真是两眼泪汪汪啊!呵呵!

  5. #5
    Ext User
    Join Date
    Apr 2007
    Posts
    3
    Vote Rating
    0
    lws is on a distinguished road

      0  

    Default Sorry!

    Sorry!


    Quote Originally Posted by Arikon View Post
    lws, this is an English forum. Translate your message to english, if you want to get an answer on it.
    I know this is an English forum. But, my English ability too was really bad.

  6. #6
    Ext User
    Join Date
    Apr 2007
    Posts
    4
    Vote Rating
    0
    ourhf is on a distinguished road

      0  

    Default


    老乡见老乡,两眼泪汪汪!
    欢迎交流交流啊!
    QQ: 49489680

  7. #7
    Sencha User
    Join Date
    Apr 2007
    Location
    Ottawa, Canada
    Posts
    179
    Vote Rating
    1
    ffzhuang will become famous soon enough

      0  

    Default see grid online edit/delete example

    see grid online edit/delete example


    http://extjs.com/forum/showthread.php?t=4416

    tylzhuang has created a example for grip, which can be delete/edit. It should be pretty similar with tree delete/edit. Go this one and maybe you will get some idea.

    欢迎交流交流啊!

    my Email: ffzhuang@gmail.com

  8. #8
    Ext User devkun's Avatar
    Join Date
    Jun 2007
    Posts
    2
    Vote Rating
    0
    devkun is on a distinguished road

      0  

    Default


    LOL, 非常有意思呀~

  9. #9
    Ext User
    Join Date
    Aug 2007
    Posts
    13
    Vote Rating
    0
    endstar is on a distinguished road

      0  

    Thumbs up 不顶你顶谁

    不顶你顶谁


    菜鸟来顶一个..

    与时俱进学习中文

  10. #10
    Ext User linnet83's Avatar
    Join Date
    Apr 2007
    Posts
    2
    Vote Rating
    0
    linnet83 is on a distinguished road

      0  

    Default


    够狠,兄弟,好样的.
    最近,我遇到一个操作Tree的问题,不知道Tree可不可以实现"增,删,改,查"这些功能 。
    也不知道她可不可以一次性把数据都读出来而不是仅仅读出一小部分!
    换句话说,不想用ajax那样访问后台的读数据!
    如果可以的话,可不可以提供一些小例子给我看看。
    Tree的"增,删,改,查"这些功能,都是可以实现的,具体可以看下\examples\tree\dependency的例子,里面都写了.
    可以一次读取出来的,不过树如果大的话,一次性生成是很耗效率的,可以用json对象实现就是了,不过这就跟这个UI的原意相违背了.呵呵
    具体可以看下\examples\tree文件夹下的dep-tree.json文件,那个就是让树一次生成的数据了