[CLOSED] [1.0] Combobox as editor (added in code-behind)

  1. #1

    [CLOSED] [1.0] Combobox as editor (added in code-behind)

    Hello,

    I have a combobox as an editor and the grid is create from code-behind. When I expand the row (row expander) it gives an error that it cannot find the store or the store is undefined.

    I have attached the project.

    Regards,
    Gokce
  2. #2

    RE: [CLOSED] [1.0] Combobox as editor (added in code-behind)

    Hi,

    1. Add "dblclick" event to the SwallowEvent
    X.Get("row-" + id).SwallowEvent(new string[] { "click", "mousedown", "mouseup", "dblclick" }, true);
    2. If you reference from dynamic controls to the controls from the page then you have to add dynamic control to the page. Please add grid to the page after grid's creation

    this.Form.Controls.Add(grid);
    Or you can reference on the store with '{raw}' prefix (in this case adding to the is not required) like grid reference to the store
    StoreID = "{raw}StoreRow_" + id,
    3. Try the followimng script to fix issue for all buttons (issue that button is not depressed after click)
    Ext.Button.prototype.onClick = Ext.Button.prototype.onClick.createSequence(function(e){
          this.getClickEl(e, true).removeClass('x-btn-click');
    });
    I want to point out once again that grid inside grid (row expander) is still experimental because officialy such mode is not supported. Therefore can be many issues (even which cannot be resolved)

    Please let me know if you require full test sample code with the above fixes

    P.S. Please do not attach assemblies. Please keep assemblies privately because Ext.Net is not public released yet. In case of need We will request assemblies via email. Thanks

  3. #3

    RE: [CLOSED] [1.0] Combobox as editor (added in code-behind)

    Hello,

    >I
    want to point out once again that grid inside grid (row expander) is
    still experimental because officialy such mode is not
    >supported.
    Therefore can be many issues (even which cannot be resolved)

    So do you say that Row Expander may not even be in release version?
  4. #4

    RE: [CLOSED] [1.0] Combobox as editor (added in code-behind)

    Hi,

    It will. Just when I said that it doesn't support offcially I mean doesn't support by ExtJS code. We will do our best to fix all possible issues.


    RowExpander will be included in the 1.0 release

Similar Threads

  1. Replies: 14
    Last Post: Aug 18, 2016, 1:57 AM
  2. [CLOSED] BeforeRender is not working when added from code behind
    By Aparna_B in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 18, 2012, 4:08 PM
  3. [CLOSED] Label Editor ComboBox Jumps to left when Editor activated
    By IanPearce in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 19, 2011, 1:31 PM
  4. Replies: 4
    Last Post: Jul 01, 2010, 1:49 AM
  5. Replies: 0
    Last Post: Feb 25, 2009, 6:05 PM

Posting Permissions