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
Printable View
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
Hi @multimediait,
These tutorials should help to start.
http://forums.ext.net/showthread.php...ll=1#post78126
http://forums.ext.net/showthread.php?27672
Sorry, I don't quite understand what exactly you don't understand:) Please elaborate on that. What do you mean by "set JavaScript file"?Quote:
i don't understand how set javascript file
I already created custom controls and I set up javascript file this way (example):
but with SelectionModel I don't know how start file client side file.Code:Ext.define('App.<ControlName>', {
extend: 'Ext.container.Container',
alias: 'widget.<ControlName>'
// ... other code
});
I hope I was clear
Pretty much the same.
You can review the CheckboxSelectionModel JavaScript class as an example.
http://docs.sencha.com/extjs/4.2.1/s...-CheckboxModel
thank you so much Daniil, this is exactly what I was looking for.
You can mark this thread with CLOSED