[CLOSED] Use RowEditing and CheckboxSelectionModel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Use RowEditing and CheckboxSelectionModel

    Hi,

    I'm using RowEditing and CheckboxSelectionModel in the same GridPanel. But it does not work in expect: when I click the checkbox, it active the editor too.
    Can you tell me how to work around with this problem?
    Thank you

    @model dynamic
    
    @{
        Layout = null;
    }
    
    @(Html.X().ResourceManager())
    
    @(Html.X().GridPanel().Title("Test GridPanel").ForceFit(true).Height(200)
          .Store(Html.X().Store().Model(Html.X().Model().Fields(Html.X().ModelField().Name("sample_field")))
                     .DataSource(new List<object> {new{sample_field="Test Sample Field"}, new{sample_field="Test Sample Field 2"}}))
          .ColumnModel(Html.X().Column().DataIndex("sample_field").Text("Sample Field Header")
                           .Editor(Html.X().TextField()))
                           .SelectionModel(Html.X().CheckboxSelectionModel().Mode(SelectionMode.Multi).CheckOnly(true))
          .Plugins(Html.X().RowEditing().ClicksToEdit(1)))
    Last edited by Daniil; Jul 30, 2013 at 7:58 AM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] Rowediting: phantom row
    By tanky65 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 21, 2013, 8:01 AM
  2. [OPEN] [#103] RowEditing Plugin - Format bug?
    By adelaney in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 29, 2012, 6:57 AM
  3. How to approach the RowEditing DragTracker?
    By billy in forum 2.x Help
    Replies: 9
    Last Post: Nov 22, 2012, 3:48 PM
  4. Null values in RowEditing V 2.0
    By billy in forum 2.x Help
    Replies: 0
    Last Post: Oct 11, 2012, 2:31 PM
  5. [CLOSED] About the rowEditing plugin.
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 10, 2012, 11:31 AM

Posting Permissions