[CLOSED] How to use Grid with checkbox selection model and Row selection model both?

  1. #1

    [CLOSED] How to use Grid with checkbox selection model and Row selection model both?

    Hi all,
    I am using Grid, I want to use row selection model and check box selection model. Is it possible to use both in a grid?
                            <SelectionModel>
                            <ext:CheckboxSelectionModel ID="CheckboxSelectionModel1" runat="server" Mode="Single" />
                            <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" />
                            </SelectionModel>
    this code giving me error 'Only one item can be added to this Items Collection'.
    Last edited by aditya; Apr 17, 2014 at 7:27 AM.
  2. #2
    Hi @aditya,

    No way.

    Actually, a CheckboxSelectionModel is a RowSelectionModel. Just with the additional functionality (checkbox column).

    So, please elaborate on why you need both at the same time.
  3. #3
    Thanks @Daniil,
    Actually, a CheckboxSelectionModel is a RowSelectionModel. Just with the additional functionality (checkbox column).
    I solved this problem after reading your statement. Please close this thread.

Similar Threads

  1. Replies: 1
    Last Post: Dec 04, 2013, 10:53 AM
  2. Replies: 10
    Last Post: Apr 19, 2013, 3:16 PM
  3. Replies: 1
    Last Post: Mar 11, 2012, 3:03 AM
  4. Replies: 2
    Last Post: Dec 01, 2011, 1:00 PM
  5. Replies: 2
    Last Post: Aug 09, 2011, 10:38 AM

Tags for this Thread

Posting Permissions