Search:

Type: Posts; User: MichaelEr

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    305

    Got it

    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. Replies
    7
    Views
    1,491

    You can get the region with...

    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. Replies
    1
    Views
    305

    Combobox in grid with row editing

    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. Replies
    2
    Views
    467

    No, I want the component which is used in the...

    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. Replies
    2
    Views
    467

    Where to find this docu-api component

    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. Remote Validation and Cell Editing with ComboBox

    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. Replies
    5
    Views
    929

    Hi, I tried to fix this behaviour with a very...

    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. Replies
    5
    Views
    929

    Hi, Ok, which parts would you refactor? I...

    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. Replies
    5
    Views
    929

    Hi, thanks for your reply. I'm using a border...

    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. Replies
    5
    Views
    929

    Horizontal scrollbars and content size

    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. Replies
    2
    Views
    879

    Because it's just not a simple icon and text per...

    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. Replies
    2
    Views
    879

    Create custom view and selection model

    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. Replies
    2
    Views
    594

    Hi, sorry for that push, but I didn't found yet a...

    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. Replies
    2
    Views
    594

    Next try

    I also tried it with custom components and overriding the onRender methods with:

    onRender : function(ct) {
    this.el = ct.createChild({
    cls : 'simple-table',
    ...
  15. Replies
    2
    Views
    594

    How to render a complex table (tree)?

    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. Replies
    3
    Views
    622

    Got It!

    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. Replies
    3
    Views
    622

    Thanks! But one more question ;-)

    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. Replies
    3
    Views
    622

    How to update custom components?

    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,...

    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. [FIXED] There is no afterload event in the TreeStore...

    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. [FIXED] I also had problems with the directFn when I...

    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. I've got it!

    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...

    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. TreeStore

    Hi,
    thanks for the reply. That's my tree store configuration:


    Ext.define('Foo.store.ProjectOverview', {
    extend : 'Ext.data.TreeStore',
    requires :...
  25. TreeStore - eager and lazy loading of children

    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