PDA

View Full Version : Table. defaultBindProperty



LesJ
9 Apr 2014, 12:41 PM
If I reset the store in the ViewModel, is this supposed to reconfigure the table?

I'm curious to know how this feature is supposed to work.

Ext.define('Ext.panel.Table', {
extend: 'Ext.panel.Panel',
...
defaultBindProperty: 'store',
...

Animal
9 Apr 2014, 1:05 PM
Yes, changing the 'store' property in the ViewModel will end up calling setStore on the grid panel which routes to reconfigure.

LesJ
9 Apr 2014, 2:48 PM
Wow, very impressive.