To Change any CSS style of an element using JQuery, you normally do this.

With a JQuery UI Button, it is a little different since it is not just one element but a group of HTML tags that make up this button.

To do so, simply get the parent of the JQuery object that you retrieved by id.

This method places a centered text on top of a bitmap object. You can modify the method to add parameters like a custom color, alignment or others.

This gave me a big headache wondering why even a list with simple data does not get shown in the tab panel. Turns out the List’s height is zero.

Most likely in your tab panel code, you did not specify a layout.

This also applies if you place your list inside an Ext.Panel which will be placed in one of the tab panels.

Just specify layout: ‘fit’ and your Ext.dataview.List should show up.

Related Posts Plugin for WordPress, Blogger...