[CLOSED] Custom SelectionModel

  1. #1

    [CLOSED] Custom SelectionModel

    Good evening, I have a trivial question. I would like create a custom SelectionModel like CheckboxSelectionModel but I don't know how do it.
    How I can start?

    Thanks in advance
    Last edited by Daniil; Oct 07, 2014 at 2:40 PM. Reason: [CLOSED]
  2. #2
  3. #3
    i don't understand how set javascript file
    Sorry, I don't quite understand what exactly you don't understand:) Please elaborate on that. What do you mean by "set JavaScript file"?
    Last edited by Daniil; Oct 06, 2014 at 3:38 PM.
  4. #4
    I already created custom controls and I set up javascript file this way (example):

    Ext.define('App.<ControlName>', {
    	extend: 'Ext.container.Container',
    	alias: 'widget.<ControlName>'
    	
    	// ... other code
    });
    but with SelectionModel I don't know how start file client side file.
    I hope I was clear
  5. #5
    Pretty much the same.

    You can review the CheckboxSelectionModel JavaScript class as an example.
    http://docs.sencha.com/extjs/4.2.1/s...-CheckboxModel
  6. #6
    thank you so much Daniil, this is exactly what I was looking for.
    You can mark this thread with CLOSED

Similar Threads

  1. SelectionModel with end row
    By Kai_it in forum 1.x Help
    Replies: 2
    Last Post: Oct 23, 2011, 11:53 AM
  2. Replies: 6
    Last Post: Sep 09, 2011, 10:19 AM
  3. SelectionModel vs Listeners
    By Juls in forum 1.x Help
    Replies: 1
    Last Post: Apr 07, 2009, 6:02 PM
  4. SelectionModel Rowselect
    By dreambe in forum 1.x Help
    Replies: 0
    Last Post: Feb 18, 2009, 10:44 AM
  5. How to clean (really) a SelectionModel ?
    By eliezer in forum 1.x Help
    Replies: 4
    Last Post: Feb 06, 2009, 3:08 PM

Posting Permissions