Search Type: Posts; User: karieanis

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Hi guys,

    I'm putting this out here because i've had no luck working this out to myself - hoping that someone out there in the community might be able to point me in the right direction, or give...
  2. Replies
    4
    Views
    2,420
    <span id="lockfield-target"></span>

    <script type="text/javascript">
    Ext.onReady(function()
    {
    new Iedex.Components.LockField({
    name: 'lockfield',
    value: 0,...
  3. Replies
    4
    Views
    2,420
    Iedex.Components is the namespace I use in the project i'm working on... I ran a search and replace to change them all to Ext.ux... must have missed one. LockField was also missing the chaining...
  4. Replies
    4
    Views
    2,420
    Hi all,

    Just wrote a toggle form field class for one of the projects i'm working on and thought i'd share the love. Here's the code for the togglefield base class, and a locking class extended...
  5. Ext version tested:


    Ext 3.2.1

    Adapter used:


    ext
  6. Replies
    10
    Views
    1,619
    You're performing a submit action on an instance of Ext.form.BasicForm. The success handler will have the form itself, and the instance of Ext.form.Action which handled the request.

    You can...
  7. In the first example, myGrid is an object literal which defines the configuration options for your grid.

    In the second example, myGrid is now an instance of Ext.grid.GridPanel. You should now...
  8. You've called load (which is asynchronous) then attempted to filter the store... data is zero because it hasn't finished loading yet. In the load call, use a callback to execute your filter. This...
  9. The messagebox dialog is an Ext.Window. Therefore, you would expect the same performance results as if you instanced an Ext.Window directly in your code.
  10. Replies
    6
    Views
    2,611
    Did you try explicitly creating an Ext.grid.GridEditor and using it in your column config?

    eg.



    editor: new Ext.grid.GridEditor(new Ext.form.ComboBox({
    typeAhead: false,
    ...
  11. Try using editable: false in your combobox config.
  12. Replies
    6
    Views
    2,611
    Try playing around with the 'startedit' event. Your comboBox is wrapped in Ext.grid.GridEditor, which is extended from Ext.Editor. When the component is shown (which would be when the clicksToEdit...
  13. Replies
    1
    Views
    648
    I recommend reading http://www.extjs.com/learn/Tutorial:Extending_Ext_for_Newbies before proceeding any further... it should answer most of the questions you have raised.
  14. Hi guys,

    I've seen this mentioned before, but I haven't found the definitive answer as to how to fix it... the issue being that when you select a date in a date picker, firefox will jump to the...
  15. Ext.EventObject.getKey returns the normalised code for the keypress. There are keycode constants in the EventObject prototype which you can use to see if a specific key has been pressed.

    eg.


    ...
  16. You're missing a namespace statement for Application.AdminMenu, which should appear like so:



    Ext.namespace('Application.AdminMenu');

    Application.AdminMenu = ...
    Also, make sure that...
  17. Which one you use depends on what it is you want to do. I would suggest reading the docs regarding createCallback and createDelegate.
  18. I would strongly suggest that you read the following article on extending Ext classes: http://www.extjs.com/learn/Tutorial:Extending_Ext_for_Newbies. What you're currently doing is instancing a...
  19. Replies
    3
    Views
    1,517
    Simple... stop the standard event before showing your context menu.

    Like so:


    rowcontextmenu: function(objGrid,iIndex,objEvent)
    {
    objEvent.stopEvent();

    new Ext.menu.Menu({
  20. Replies
    3
    Views
    2,909
    I would think the obvious solution is to not have characters as HTML entities in your store. I cut and pasted your code into firebug, and changed the &ccedil; in the datastore to รง - it works fine.
  21. Replies
    14
    Views
    4,702
    I'd consider changing from gridPanel to editorGridPanel - drop using the renderer for the checkbox, and use an editor to build the checkbox - I think isCellEditable is a config option for...
  22. Replies
    14
    Views
    4,702
    Your array of header objects needs to be preceded with they columns key.



    App.columnModel = new Ext.grid.ColumnModel(
    {
    columns: [ // column objects ],
    isCellEditable: function...
    });
  23. Replies
    4
    Views
    1,141
    You need to set enableToggle in your button config. In addition to that, you would need to add a toggleHandler function to determine what action occurs when the state changes.
  24. You need to get the toolbar object and wrap a center tag around it. I would suggest putting this code in 'render' listener for your toolbar object.

    eg.


    var myToolbar = new Ext.Toolbar(
    {
    ...
  25. Replies
    14
    Views
    4,702
    There clearly is a ColumnModel in your code... App.ColumnModel is an instance of Ext.grid.ColumnModel. Currently you are passing an array of objects (which are your grid headers). What you need to...
Results 1 to 25 of 108
Page 1 of 5 1 2 3 4