Hi all. I am trying to minimize number of trips to server on initial page load. Main page has 2 TreePanels which in turn produce 2-4 extra trips during main page load.
My idea is to pass JSON...
Type: Posts; User: aresot
Hi all. I am trying to minimize number of trips to server on initial page load. Main page has 2 TreePanels which in turn produce 2-4 extra trips during main page load.
My idea is to pass JSON...
Hi. I have following snippet of the code:
this._fleets = new Ext.tree.TreePanel({
region:'west',
title:"Fleets",
collapsible: true,
...
Thank you! Apparently setting triggerAction: 'all' did the trick.
Not sure Im following. Top one is mapping for reading form fields and bottom for reading list for the ComboBox.
Hi. I have problem with ComboBox when server returns empty value for it. Here is how I set it up:
var form = new Ext.form.FormPanel({
baseCls: 'x-plain',
...
Thank you! Thank you! That was it.
Hi all. I have TreePanel which populated with JSON from server. It has only 2 levels (parents and one level of children). I need ability to drag-drop children to the parents (aka rearrange children...
Thanks for sharing your plugin Abience. Very usefull.
I was wondering if anyone tried to mark filtered column in the header with image icon instead of font. I tried to change style for the filter...
Anyhow, here is couple overwrites to build expanded nodes string and reload tree:
Ext.tree.TreePanel.prototype.reload = function () {
// traverse expanded nodes and update baseParams object...
Not server side. Question is about client side Tree. Is there anything in TreePanel or TreeStore that already has this functionality.
I think I didn't explain it well:
I do realize that it is server that builds JSON for all expanded nodes but my question was if there was already function that generates expandOnlyTheseIds list from...
I think I know what is going on.
Since Im using JsonStore object I do not explicitly specify "reader". Documentation says following: JsonStore is pre-configured with a built-in Ext.data.HttpProxy...
Say I have TreePanel with bunch of nodes expanded. I need to reload that tree but keep all expanded nodes as they are. If I call tree.getLoader().load(tree.root) it reloads only nodes below the root....
But that was my original problem. See my #1 last phrase:
then on browser side I call store.getById("1") but get undefined as return
My point was that looks like getById() uses internal id...
Yes it does but I think it creates "id" property instead of Reader internal id. Anyhow I solved this by just scanning through records:
store.each(function(rec) {
...
I have JsonStore object and I need to find record with exact match for specific field. I tried 2 things:
1) when building JSON output on server side I added "id" param like that:...
Well, back to good ole hacking.:D No easy way I guess.
Hi. I switched to the 2.0 version. In 1.x I was able to do following by overwriting createStripList function with my own:
http://andrei.dvrdns.org/TabPanel.jpg
Is there way to do that in 2.0 some...
Here is hackish solution to that bug:
OnClickOptions._dlg = new Ext.BasicDialog("OptionsDlg", {
modal:true,
autoTabs:true,
...
Bump. Anyone?
I certainly didn't :). Thanks for the help
Have to admit that CSS is my weakest link here. Was doing all styling before using style attributes. Came from programming world: c,c++,Java and JavaScript soI kinda missed HTML monkey training. I...
I have tabbed dialog box with bunch of <select> HTML objects in one of the tabs. Problem is they invisible in IE (Mozilla shows them fine). In more details: I have 2 tabs and my <select>s are in the...
Hi Im trying to make ComboBox that allows user to select image. I can display drop-down list of images using Template but can't find info on how to show image in Edit box itself. In other words when...
Thank you! Thats exactly what I was looking for. :D Keep up good work guys.
Cheerz