Search:

Type: Posts; User: Morris

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,171

    Dynamically adding submenus

    How should I dynamically add a submenu to a menu? In the code I have here only "Settings" appears when the menu button is activated. I ultimately want to end up nesting 3 deep.



    mainMenu = new...
  2. Oops typo!

    In the real code toolbar and mainMenu are globals (I added the return value for annotation), but your reply helped me to find the problem. I'd left it as a function call instead of just using the...
  3. [Solved]Menu in north region doesn't show up

    I want to add a menu to the north region of my layout. There are no errors reported by firebug and the layout is fine, but the menu doesn't show. Am I missing something out or going about it the...
  4. Replies
    2
    Views
    1,509

    Ditto

    Thanks for the reply. Yeah I've (obviously) found the same. When it comes to enabling user selected font sizes further down the road I guess the sizes will have to be calculated based on text lengths...
  5. Replies
    2
    Views
    1,509

    Form in window with sensible sizing

    Is it possible to just chuck a form panel at a window and get some good looking defaults, or do you always have to specify a width somewhere?
  6. Replies
    2
    Views
    2,168

    Or can't it be done?

    Because I have 1000 elements I don't want to instantiate a tooltip per element, and will probably change it to onmouseover="showTheDarnTip()" and onmouseout "hideTheDarnTip()" in the html for the...
  7. I'm using ....

    I use this lot to create an accordian with a number of trees. Maybe something in here will help you?

    Libraries excerpt :


    function buildTree(title, node_name, id) {
    var tree = new...
  8. Replies
    2
    Views
    2,168

    Hmmmmm ....

    I'm trying to use a single tooltip and update it via ajax when user hovers over task elements.



    tip = new Ext.ToolTip({
    title: 'Task Information',
    // autoLoad: '/tasks/gantt_tooltip/<%=...
  9. Replies
    2
    Views
    2,168

    Context menu but no tooltip

    I've got about 1000 html elements. I get the context menu but not a tooltip.



    el = Ext.get('task_<%= task.id %>');
    el.on('contextmenu', function(e)
    {
    taskContextMenu.showAt(e.getXY());...
  10. Replies
    0
    Views
    1,011

    Referencing an accordian panel

    I've got an accordian which has 3 panels/items, each of which contain a tree. I have a context menu working on the tree elements, and what I'd like to do now is apply a different context menu shared...
  11. Replies
    15
    Views
    6,396

    Give the containing element a height

    I had this problem when I first used a tree, then I found that the data was there all the time, but the element didn't show the tree expanding, just the root node.

    Try <div style="height:200px">...
  12. Replies
    5
    Views
    9,762

    Context menu on html element

    How do attach the following context menu to an HTML element?



    /* Handle tasks */
    var taskContextMenu = new Ext.menu.Menu('taskContext');

    taskContextMenu.add(
    new Ext.menu.Item({text:...
  13. Replies
    5
    Views
    2,354

    Thinks I've got it now

    Ok, that works now that I've forced some overall width in the returning HTML's style too and got a horz scroll now.
    Now to re-evalute my floats ;-)

    Cheers Hendrick
  14. Replies
    5
    Views
    2,354

    Tab panel forcing width

    I open a Gantt chart in a tab panel. A vertical scroll bar appears, but as this chart can get pretty wide I want a horizontal scroll bar to appear too. However



    maintabs.add({
    title:...
  15. Replies
    913
    Views
    748,630

    Sample in Rails + Will you support visual feedback?

    It works lovely with sample in this page.

    Will you add support for visual feedback that a particular column has a filter supplied?

    Here's some sample code to use it in Rails (not SQL injection...
  16. Replies
    2
    Views
    1,949

    Make a tab blink

    I've got a semi-instant messenger scenario, and I poll the server for any new messages every xx seconds.

    How can I change a particular tabs text to 'text-decoration: blink' when an unfocused tab...
  17. Replies
    1
    Views
    2,122

    Ok found it Doh!!

    selectionModel.on('rowselect',
    function(row, index, record){
    view_message.setTitle(record.get('subject'));
    view_message.getUpdater().update('/messages/view/' + record.id);
    }
    )
  18. Replies
    1
    Views
    2,122

    Grid selection model

    I've almost got a Thunderbird style message interface going on. When selecting a row (message) in the top half of the screen, I'm able to retrieve the message and show it in the bottom half of the...
  19. Replies
    3
    Views
    1,342

    Nearly there .... :-)

    Hi Santosh,
    Thanks for the reply. It's nearly there with a layout:'border' as you suggest.
    The code is :



    var messages = new Ext.grid.GridPanel({
    region:'center',
    border:false,
    ...
  20. Replies
    3
    Views
    1,342

    Grid + Panel within a Panel which is a tab

    I've got a Tab Panel which contains a Panel as one of the Tabs, entitled "Messages".

    Within this Messages Tab (Panel) I've got an Ext.grid.GridPanel and an Ext.Panel.

    The Grid all works fine,...
  21. Replies
    1
    Views
    1,020

    Some tabs to the left, others to the right

    I've got a tab panel working fine with multiple panels etc.

    The tabs are at the top and I'd like to make some of the tabs appear towards the right and some on the left (but still on top)?

    I was...
  22. Replies
    1
    Views
    1,351

    Make window adjust to contents

    I've written a couple of wrapper functions so that I can define some form fields and some buttons, then call createWindow(url, fields, buttons). It all works fine except I cannot get the window be an...
  23. Replies
    4
    Views
    1,562

    Darn I was doing it again!

    Ok I get the impression that I've been over-nesting again - something which I'd spent time on correcting - like making an Accordian "the" left hand side rather than in a panel on the left, tabs "the"...
  24. Replies
    4
    Views
    1,562

    Get the body of a tab for rendering into

    These tabs work .....
    ---------------------------------
    var maintabs = new Ext.TabPanel({
    region: 'center',
    margins:'0 0 0 0',
    padding:'5 5 5 5',
    activeTab: 0,
    defaults:{
    ...
  25. Response

    "You need to get familiar with all the tab events available, then make things happen: ....."

    Cheers, now I'm getting warm ;-) Will play with that tomorrow and apply more sarcasm if necessary ;-)
    ...
Results 1 to 25 of 31
Page 1 of 2 1 2