Originally Posted by
Daniil
There is no a renderer stuff for columns' header. So, I can suggest to try this.
App.GridPanel1.getView().headerCt.items.each(function (c) {
c.getEl().down(".x-column-header-text").applyStyles({
"font-size": "15px"
});
});
thanks Daniil,
i tried your suggestion but was't working , getting "App.GridPanel1...." is undefined.
So, I created CSS for header.
<style type="text/css"> .x-column-header-text
{
font-size: 15px !important;
}
</style>
Now, i have one more requirement.
suppose, We have one
masterpage and rest of the other
pages are
content page.
and in few content pages has
GridPanel in it with
different ID's.
i want to set
Increment and decrement the value for
GridPanel not for
GridPanel ID's
E.g: if i open
any page if there is
GridPanel is using then
"Increment and Decrement option will display.
so user can increase or decrease the font-size of the GridPanel Data.
Can we set "Increment & Decrement value in
Masterpage and it
display only if
GridPanel renders in
masterpage ?
Regards
vik