Search Type: Posts; User: MichaelEr

Search: Search took 0.01 seconds.

  1. This blog post gives me the right hint.
    I had to set the dataIndex to 'refId' and to specify a tpl like this:

    dataIndex : 'refId', xtype : 'templatecolumn', tpl : '{refName}'
  2. You can get the region with Ext.util.Region.getRegion(cmp) for a specific component (e.g Ext.util.Region.getRegion(Ext.getBody())). If you use your image for the component and event.getXY() you...
  3. Hi together,
    I think I got a simple problem but could not find a solution. I defined a grid with a few columns. The model is defined like this:

    id:'string', name:'string', refId:'string',...
  4. No, I want the component which is used in the documentation. I want a panel which is expandable when clicking on a link, like the name of the api method or the arrow on the left side. I want to be...
  5. Hi,

    I want to use a component from the ExtJS documentation. I'm looking for it in the examples directory but could not find it. I want the same behaviour, a panel which is collapsed until clicking...
  6. Hi,

    I extended the combobox widget to realize an autocomplete feature. The combobox works fine when using it in a form. When I use it as an cell editor I got the problem that it sometimes does not...
  7. Hi,

    I tried to fix this behaviour with a very ugly solution.

    afterDraw : function() {
    var comp1 = Ext.get('comp1');
    var canvas = Ext.get('canvas');
    var...
  8. Hi,
    Ok, which parts would you refactor? I thought thats the best solution to get the following layout structure. I just scribbled it with PP to visualize it. The canvas components should also be...
  9. Hi,
    thanks for your reply. I'm using a border layout. The following is my viewport config. The 'canvas' component is the panel which contains the two components.

    Ext.define('Foo.view.Viewport', {...
  10. Hi,

    I implemented two custom components and added them to a panel. All works fine, especially drag and drop and so on but If I get an vertical scroll bar, nothing could be dragged or dropped after...
  11. Because it's just not a simple icon and text per node. Nodes must be rendered in a special structure and for example could contain own editable elements. I render it completly different like the...
  12. Hello,

    I have written a Ext class which inherits form Ext.Component and renders a tree (a html table) within the initComponent function. A TreeStore is used as data provider. The created html is...
  13. Hi, sorry for that push, but I didn't found yet a solution for creating a table based container. Is there an interface which I have to fulfill? I always run into this specific table behaviour where...
  14. I also tried it with custom components and overriding the onRender methods with:

    onRender : function(ct) {
    this.el = ct.createChild({
    cls : 'simple-table',
    ...
  15. Hi together,
    I want to render the content of a TreeStore but not with the default Tree implementation. A rendered tree node must result in a complex <div> structure. Also the first element of the...
  16. I just had to play a little bit with the properties, especially 'floating'. I also had to wrap it into a container component and to remove the <div> from the template, otherwise it would be in the...
  17. Hi,

    thanks for the help. I almost got it. I could edit and update the text. The only problem is the positioning of the editor. I tried it with different allignment, offset configurations and also...
  18. Hi together,

    I'm just writing my first custom component to render some data. The renderData given in the constructor (see the snippet below) is a record from a treestore. Rendering the element...
  19. Instead of returning a single node with children, I wrapped the single root node in a JSON array, so instead of returning "{ myrootnode .. children : [..] }", I return "[ { myrootnode .. children :...
  20. There is no afterload event in the TreeStore class so this could not work.

    My solution was to override the class with parts of the 4.1.0.BETA code. It works as expected. No delete requests are...
  21. I also had problems with the directFn when I configured the DirectStore. I also get the error that "fn" is undefined when calling the load method of the store.
    proxy : {
    type : 'direct',
    ...
  22. Hi,

    Thanks for your reply, and the good advice. I only had to replace the root node "tree" with an array and it works now.

    Regards
    Michael
  23. I'm still looking for a reason for the remote requests. To eleminate other errors, I removed the autoLoad and proxy property and replaced the root property configuration with a copy paste model from...
  24. Hi,
    thanks for the reply. That's my tree store configuration:


    Ext.define('Foo.store.ProjectOverview', {
    extend : 'Ext.data.TreeStore',
    requires :...
  25. Hi,

    I just want to create a tree which is created from a Json object. The tree contains children elements, but when expanding the element a remote request is executed with the root node as...
Results 1 to 25 of 25