[FIXED] [V0.6] GridPanel and SelModel

  1. #1

    [FIXED] [V0.6] GridPanel and SelModel

    Hello,

    When using a GridPanel and I have programmatically disabled the RowSelectionModel, it still runs:

    ASPX
    [CODE]
    <ExtJS:GridPanel ID="dgSearchResults" runat="server" ...>
    ....
    <SelModel>
    <ExtJS:RowSelectionModel ID="SearchResultSelectionModel" runat="server" SingleSelect="True">
    ....
    </ExtJS:RowSelectionModel>
    </SelModel>
    </ExtJS:GridPanel>
    [CODE]

    CS
        ....
        dgSearchResults.DisableSelection = true;
        SearchResultSelectionModel.Visible = false;
        ....
    Was working in a previous revision, stopped working as of yesterday.

    Cheers,
    Timothy
  2. #2

    RE: [FIXED] GridPanel and SelModel

    And just a quick mention:

    I change the visibility on the RowSelectionModel because of the following blurb from ExtJS API:

    <table class="member-table" cellspacing="0"><tbody><tr class="config-row"><td class="micon">
    </td>
    <td class="sig">

    disableSelection : Boolean

    <div class="mdesc">
    True to disable selections in the grid (defaults to false). - ignored
    if a SelectionModel is specified
    </td></tr></tbody></table>
    Cheers,
    Timothy
  3. #3

    RE: [FIXED] GridPanel and SelModel

    Hi Timothy,

    thanks for the bug reporting. The fix in the svn. Now the DisableSelection=True works always (even the selection model is specified). So, you no need set Visible=False for the SelModel (just set DisableSelection=True for the Grid)

    Please ensure that you clear cache for browser


  4. #4

    RE: [FIXED] GridPanel and SelModel

    Awesome, thanks for the update! :)

    Timothy

Similar Threads

  1. this.selModel.selectedData is null
    By hihill in forum 1.x Help
    Replies: 0
    Last Post: Jun 25, 2012, 12:32 PM
  2. [FIXED] [V0.7] Bug in gridpanel?
    By Jurke in forum Bugs
    Replies: 2
    Last Post: Dec 02, 2008, 5:06 AM
  3. [FIXED] [V0.7] Gridpanel
    By Jurke in forum Bugs
    Replies: 2
    Last Post: Dec 02, 2008, 3:19 AM
  4. GridPanel SelModel
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 21, 2008, 6:23 PM
  5. [FIXED] [V0.6] GridPanel Row Expander
    By Timothy in forum Bugs
    Replies: 8
    Last Post: Sep 11, 2008, 7:39 PM

Posting Permissions