Hi,
i tried to set columntree width using widht and forcefit property (in ExtJS). but im not getting the proper solutions. If i change the screen resolution its not fit with full width. i've attached below my code. -
createTree = function (){
-
tree = new Ext.tree.ColumnTree({
-
el:'adminGridDiv',
-
id:'producttree',
-
width:700,
-
rootVisible:false,
-
expandable:false,
-
loadMask: true,
-
layout:'fit',
-
viewConfig: {
-
forceFit:true
-
},
-
stripeRows: true,
-
singleClickExpand:true,
-
tbar: new Ext.Toolbar({
-
autoHeight:true,
-
autoWidth:true,
-
style:'background:#d0def0'
-
}),
-
columns:[
-
{
-
header:'Group Name',
-
width:120,
-
id:'name',
-
dataIndex:'name'
-
},{
-
header: "Status",
-
dataIndex: 'status',
-
id:'status',
-
width: 90
-
})
-
},{
-
header:'Remarks',
-
width:170,
-
id:'remarks',
-
dataIndex:'remarks'
-
}],
-
-
loader: new Ext.tree.TreeLoader({
-
layout:'fit',
-
width:980,
-
preloadChildren:true,
-
uiProviders:{
-
'col': Ext.tree.ColumnNodeUI
-
}
-
})
-
-
});
-
}
reply me if you have any idea...
Thanks
2 5173
i tried to set columntree width using widht and forcefit property (in ExtJS). but im not getting the proper solutions. If i change the screen resolution its not fit with full width.
If you're setting the width, then the width will be 700, not the full screen, would it?
Please use [code] tags when posting code. Thanks!
If you're setting the width, then the width will be 700, not the full screen, would it?
Please use [code] tags when posting code. Thanks!
Thanks for your reply... actually somebody has tried with
layout:'fit',
viewConfig: {
forceFit:true
}
URL :
http://extjs.com/forum/showthread.php?t=31880&highlight=columntree+forcef it
to fix it... even total width of the columntree is not working...
Thanks.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Alex Shi |
last post by:
In php, is there a way obtain the width of a charactor of a certain font?
Alex
--
==================================================
Cell Phone Batteries at 30-50%+ off retail prices!...
|
by: Graham J |
last post by:
Apologies for the partial post that mysteriously escaped as I was composing.
I shall try again.
For many years I have been happily and successfully coding tables such that
the WIDTH
specified...
|
by: karlman |
last post by:
I am trying to create a web page that shows a calendar schedules. I am
attempting to use table cells with fixed widths and different colors to
display this.
It seems that IE6 doesn't always...
|
by: aadsaca |
last post by:
Hi,
I just want to know about how to make a program using CakePHP with EXTJS.
Like displaying database contents with EXTJS' cool tables
you know
tnx,
arjel
|
by: sasimca007 |
last post by:
Hello friends,
If anybody knows extjs please clarify my doubt. I uses gridpanel(array grid) and i want to get the value of a column of a row when a row is clicked. That means,...
|
by: Aaron Gray |
last post by:
What the hell is going on in source/adapter/ext-base.js on lines 36 and 45,
Ext.lib.Dom.getViewportHeight and Width ?
It seems to be using 'self' which seems to come from no where ?
Also whats...
|
by: Prajaktaj |
last post by:
Hi All,
I want to integrate the sharepoint webpart into ExtJS.
If anyone of you is having any idea please help me out.
Thanks for any help
|
by: RamananKalirajan |
last post by:
Hi all, I am planning to develop an application using ExtJs. But the issue is i have a requirement such that if i choose a color in the formatter pane. the whole application should change to that...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |