Search:

Type: Posts; User: friend

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    351

    Are you just trying to do something like below? ...

    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. Thread: View getter

    by friend
    Replies
    5
    Views
    797

    I define xtypes as shown below, where this...

    I define xtypes as shown below, where this always works for me:



    Ext.define('ReportsApp.view.report.newUserWindow', {
    extend: 'Ext.window.Window',
    alias:...
  3. Replies
    2
    Views
    1,166

    You could register your own click event on the...

    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',
    width:...
  4. Replies
    4
    Views
    1,473

    To load a form, you must format the data...

    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
    4
    Views
    1,473

    See the docs for Ext.form.action.Load...

    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
    3
    Views
    766

    Also: Architecting Your App in Ext JS 4, Part...

    Also:

    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...

    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. Replies
    2
    Views
    657

    Regarding the targetOffset part of your question,...

    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...

    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. Replies
    1
    Views
    489

    Something like this: ...

    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?

    Are you using MVC?
  12. Replies
    2
    Views
    783

    Try removing any selections before you clear the...

    Try removing any selections before you clear the grid:



    removeAllRecordsFromGrid: function () {
    this.getSelectionModel().deselectAll();
    var storeForThisGrid = this.getStore();
    ...
  13. Replies
    2
    Views
    445

    The answers to your questions can be found here:...

    The answers to your questions can be found here: MVC Application Architecture
  14. Replies
    2
    Views
    1,495

    You're missing a closing curly brace around the...

    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. Replies
    1
    Views
    302

    See the docs for the overflowY...

    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. Thread: grid validator

    by friend
    Replies
    9
    Views
    930

    There's a small caveat to be aware of when using...

    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. Replies
    2
    Views
    424

    Simple Javascript will suffice: ...

    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...

    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...

    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...

    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. Replies
    5
    Views
    2,009

    Read the docs for Panel.contentEl...

    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. Replies
    5
    Views
    2,009

    If you're using a Viewport for your page layout, ...

    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
    3
    Views
    1,180

    You can do an Ext.override(target, overrides)...

    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. Replies
    5
    Views
    2,009

    Since you're rendering this panel to a ,...

    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
    2
    Views
    577

    Please post a concise code sample which shows the...

    Please post a concise code sample which shows the configuration of both your Window and TreePanel.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4