Search Type: Posts; User: gr_great_2000

Search: Search took 0.01 seconds.

  1. Thank you both Jesus and Animal for your help! I think that you -more or less- say the same thing. But you helped me a lot to figure out a solution to this:

    I always return true in case of a...
  2. I tried to follow your instructions but it didn't work. Maybe I didn't do it properly. When an 'beforenodedrop' event is fired at my tree, the handler -that it is called- does not wait for Ajax to...
  3. Replies
    Hello everybody,

    I would like to ask you how can I cache events in Extjs, e.g. drag and drop events. Is there any documentation/article where I can start reading? Should I come up with my own...
  4. Thanks for your help! I will try to implement what your are suggesting.
  5. I guess I am using asynchronous widgets. I use nodeType: 'async' in my trees, if this is what you are asking. I understand the fact that ajax request is asynchronous, but how can you handle such...
  6. Hello everybody,

    I cannot cancel a drop event after an Ajax failure, e.g.

    function dropHandler(dropEvent) {
    dropEvent.cancel = false;
    Ext.Ajax.request {
  7. Replies
    Hello everybody,

    Maybe this is mainly a PHP question, but I was wondering what happens if you submit an Extjs form and your server script (php script in my case) throws a fatal error at runtime....
  8. Hello. I would like to ask you when does an Ext.Ajax request actually fail. If my server php script returns anything, then the request is successful. So the only way (?) to fail is to throw some...
  9. Thank you for your reply. I think I solved the problem by

    treeA.on('contextMenu, function(node,treeA) { myHandler(node,this) }
    treeB.on('contextMenu, function(node,treeB) { myHandler(node,this) }...
  10. Hello,
    I would like to ask whether it is possible -and how- to use the same menus/handlers among different components. E.g. given that I have multiple trees and the following context menu,

  11. You are right :-)

    Maybe it would be nice if -eventually- Extjs takes care of these loops automatically, without requiring to set flags (thus making things even simpler).

  12. Thank you very much for your reply.

    What you are more or less suggesting is that the updateHanlder fuction should return false by default, and only in case of success, to complete the edit. Your...
  13. Ext version tested:

    Ext 3.2.0

    Adapter used:
  14. In the following piece of code

    // Change the text of a tree node
    function updateHandler(editor, newVal, oldVal) {
    var node = editor.editNode;
    if (newVal == '') {
  15. It is true that my root node contains more than 1000 children nodes, that's why there is probably a request time out when loading the data remotely.

    I set in my TreeLoader,
  16. Thank you, but what would be the solution to this?

    Setting document.domain='' does not solve the problem entirely. The tree is sometimes rendered, others not.

    Kind regards
  17. Hello. This is my first post in this forum. Hope I submit to the right place.

    I am trying to render a tree, which I load with data from a database. Tree is rendered and expanded normally when...
Results 1 to 17 of 17