Search Type: Posts; User: friend

Page 1 of 5 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    Are you just trying to do something like below? Note that the use of hard-coded IDs is a recipe for disaster. Instead, look into Ext.ComponentQuery and the native up(), down(), child(), etc....
  2. Replies
    I define xtypes as shown below, where this always works for me:

    Ext.define('', {
    extend: 'Ext.window.Window',
  3. You could register your own click event on the RadioGroup's DOM element:

    var xx = Ext.create('Ext.window.Window', {
    height: 200,
    layout: 'anchor',
    title: 'RadioGroup Test',
  4. Replies
    To load a form, you must format the data returned by your PHP code to conform to the structure I mentioned earlier. I usually have two server-side methods, where one returns a JSON list of data...
  5. Replies
    See the docs for Ext.form.action.Load. Your JSON response for a form load should look something like this:

    success: true,
    data: {
    clientName: "Fred. Olsen Lines",
  6. Replies

    Architecting Your App in Ext JS 4, Part 1
    Architecting Your App in Ext JS 4, Part 2
    Architecting Your App in Ext JS 4, Part 3
  7. I'm fairly certain that a Viewport configuration must include at least one container. A simple solution is to configure your Viewport like so:

    var viewport =...
  8. Regarding the targetOffset part of your question, you can use the margin property of the Tooltip config to move the tooltip around.
  9. Without seeing your code it's hard to say what the problem might be. As a guess, I'm betting that there's a problem with the way that your grids are being added to the tab panel.

    Can you post a...
  10. Something like this:

    Ext.create('Ext.window.Window', {
    height: 200,
    title: 'Buttons separated with Images',
    width: 400,
    dockedItems: [{
    xtype: 'toolbar',
  11. Are you using MVC?
  12. Try removing any selections before you clear the grid:

    removeAllRecordsFromGrid: function () {
    var storeForThisGrid = this.getStore();
  13. Replies
    The answers to your questions can be found here: MVC Application Architecture
  14. You're missing a closing curly brace around the items object which encloses your form.

    I put your layout into a Window for testing and this works for me on Firefox 21.0:

  15. See the docs for the overflowY configuration property on a Combobox. This will let you control the display of a vertical scroll bar at configuration time.

    After that, you can dynamically...
  16. Replies
    There's a small caveat to be aware of when using the CellEditing plugin: If your editing components are declared as xtypes, a component won't actually be instantiated until the first time you enter...
  17. Simple Javascript will suffice:

    onXmlstoreUpdate: function(store, record, operation, eOpts) {
    var changes = record.getChanges();
    for (var property in changes) {
  18. On a related note, I don't think a Panel's header is fully constructed and ready to be manipulated until the afterrender event.
  19. If you need multiple Trees, then just define multiple trees and throw away the for loop.
  20. Keep in mind that your store.load() is asynchronous. Your for loop is probably finished executing before your first store load has returned, so i will always be 3...
  21. Read the docs for Panel.contentEl carefully, especially the 'Notes' section.

    The content you're attempting to shove into the center panel looks like it has a lot of external dependencies and...
  22. If you're using a Viewport for your page layout, then you shouldn't be using renderTo. renderTo is typically used to insert ExtJs components into an existing HTML page.

    If you're wanting to...
  23. Replies
    You can do an Ext.override(target, overrides) on the classes which implement the tooltipType property.

    According to the docs, the following classes support the tooltipType property:

  24. Since you're rendering this panel to a <div>, it's up to you to manage the panel's size. If possible, I'd recommend using a Viewport to manage the overall layout, where all of your child...
  25. Replies
    Please post a concise code sample which shows the configuration of both your Window and TreePanel.
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4