Search Type: Posts; User: ssamuel68

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. The problem is that my servlet is on glassfish and my app is on apache so, when I call my servlet it says is cross domain.

    Thats why is not working.

    I need a workaround here
  2. I change my output to this:
    Java:

    out.print("{\"success\": true, \"message\":\"Test\"}");

    The respnose from my servlet
    43852

    console.log(action);
    43853
  3. Hi, Im having a problem getting the response from my servlet with the success.


    mainForm.submit({
    url: 'http://sam:8080/test.access.http/Test',
    params:...
  4. Replies
    3
    Views
    226
    Thx @slemmon

    I use the cls atribute on my grid and then add my custom cls like this:

    Grid:

    cls: 'gridTitle'

    CSS:
  5. Replies
    2
    Views
    152
    Thx @slemmon

    I use the UI atribute on my progressBar

    CSS:


    .x-progress-progress1 .x-progress-bar {
    border-right-color: #FF3D0D;
    border-top-color: #FF3D0D;
  6. Replies
    3
    Views
    226
    Hi,

    Its possible to change the grid title style? Like font, size, color, height.

    Thx
  7. Replies
    2
    Views
    152
    Hi,

    I got a simple progress bar, but I want to change the font-size of the text. I know how to change the inside color but not the font-size / color of the text.

    Thx
  8. Hi,

    Is possible to add an extjs button to a grouping header?

    For now, my grouping code is this one:

    var groupingFeature = Ext.create('Ext.grid.feature.Grouping',{
    ...
  9. Replies
    1
    Views
    108
    Sorry,

    On the parent I only add layout: 'fit' and that do the job. ....

    How I mark this as answered?
  10. My problem was that on my direct I set the number of parameters to 0, so in my controller I didnt receive the id of the node.

    I change it to 1 and now I get the id of the node.
  11. Replies
    1
    Views
    108
    Hi,

    I'm having a problem with my treepanel.

    On my first load the treepanel set the height to 300px for example. When I open a folder on my tree the height is still 300, son when it expand the...
  12. I was using this example: http://docs.sencha.com/ext-js/4-1/#!/example/direct/direct-tree.html

    But I dont have the back end code.
  13. The code of the tree panel:



    var store = Ext.create('Ext.data.TreeStore', {
    root: {
    expanded: true
    },
    proxy: {
    type:...
  14. Hi,

    First I was loading a tree panel with the "full" json structure, but I need to load the tree asynchronous.

    The new json now is like this:


    [ {"text": "Empty", "path":...
  15. All good now, the problem is that I was using the name file as the id, so, when the json has the same id twice it freezes.

    I solve it not using the name as the id too =).

    If anyone want the...
  16. The console is showing this errors:



    Uncaught TypeError: Cannot read property 'internalId' of undefined ext-all-dev.js:89891
    Uncaught TypeError: Cannot read property 'internalId' of undefined...
  17. Chrome on linux(ubuntu)
  18. The problem was the root of my response.

    Now, the tree is showing, but when I try to expand or collapse the tree freezes.

    Store

    Ext.define('Test.store.FtpTree', {
    extend:...
  19. You were totally right, my json was wrong. I solve my json structure and now my response is json like.


    '{
    "children": [{
    "id":...
  20. Thanks again wojteks27,

    Ok, my store looks like this:


    Ext.define('Test.store.FtpTree', {
    extend: 'Ext.data.TreeStore',
    autoLoad: false,
  21. Thanks wojteks27, I'm having problems returning the json, I'm working with java for the response and I return a json like yours but the tree is not showing up.
  22. Really the main porpuse is to show me the directory that I consult through a SSH request on java and I return a json with the structure
  23. Ok, I have a method that I access through a controller that returns me the folder structure (json).

    How I convert that response to a tree store like.

    Thx
  24. Hi,

    Is possible to show a tree panel from a folder path, for example: c:/ show all folders, subfolders and files?

    Thx
  25. Hi,

    I have a buttom -> menu -> menuitem inside my grid with an editor. I have a handler to perform the action of each menuitem, but how can I get the column index of the menuitem I'm using.

    Thx.
Results 1 to 25 of 66
Page 1 of 3 1 2 3