Search Type: Posts; User: ryanyoungsma

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    7,986
    You can use Ext's cookieprovider to do what you are looking for.
  2. You may not have your field configured properly. Maybe name or hiddenName parameters are not set?
  3. Replies
    4
    Views
    1,053
    I am not 100% positive on this, but might you need to explicitly define a reader with this? Meaning you are using Ext.data.Store versus Ext.data.JsonStore.
  4. Then you may not be stating your issue correctly. As the way I read your renderer, it is trying to do the same thing the code I posted does. I would say remove your renderer, add my code to your...
  5. The below code should work. Found this a while back in the 2.x forums...



    listeners : {
    select:function(combo, record, index) {
    ...
  6. It's certainly possible to a relative extent. Meaning if you are trying to fill up exactly the inner grid height with the precise amount of rows, well that gets complicated. If you want it close...
  7. Are you using a custom plugin for the checkcolumn? did you register an event in this plugin to listen too? Would need to see your column model and plugin code.
  8. Replies
    4
    Views
    2,307
    Sounds to me you are not handling the login correctly. Such as setting a variable in a PHP session stating the user is logged in. but one could only guess based on the info provided. There is a...
  9. Your "change" handler would look more like this:



    listeners: {
    change: function(group, checked){
    var yourselection = checked.getRawValue();
    alert('You Selected:' +...
  10. Replies
    9
    Views
    1,273
    Yes, looks like you are good to go. Sorry, the original code was basically copied from one of my base classes that extend a panel. That's why it was formatted as such.
  11. Replies
    9
    Views
    1,273
    There is a config option for the button called "pressed". I usually set this for the default, then call a function like the below code to toggle the rest when a user clicks other buttons.


    ...
  12. Replies
    9
    Views
    1,273
    Exactly.

    With your case the only thing that changes is the data due to a "limiting" factor. i.e. "WHERE request_date < TODAY + 1 Month" , so there is no need to have multiple grids. All you...
  13. Replies
    9
    Views
    1,273
    To further elaborate the above, you can place buttons in the Tbar of the grid that relates to the 5 different datasets you have. Then when the button is clicked you will reload the store with the...
  14. Why not do a remote request to the query and return the JSON, versus trying to put it right in the page.



    new Ext.data.JsonStore({
    url:'php/urlToQuery.php'
    ,id: 'id'...
  15. Replies
    4
    Views
    962
    Instead of "autoLoad: true" use:


    forumJsonStore.load({params: {start:0,limit:30}});

    Place this below your store.
  16. Replies
    2
    Views
    2,347
    I believe it is something like:

    store.getAt(idx)
  17. I am using FireFox 3.6.3 and I have seen it in my app, but not with earlier versions of FF.
  18. Replies
    5
    Views
    1,101
    When you open the form, store the index of the row in a value of the form object. Then on save/submit of the form use (from the API Docs of the store):



    getAt( Number index ) : Ext.data.Record...
  19. Replies
    5
    Views
    1,101
    I am sure no one will write this much code for you, so here are some items to research:


    OnClick Event for the button to process showing the window
    Grid RowSelection Model
    Grid RowSelection...
  20. Use the getForm() method to get the form, then use findField('name') to get the field.



    var f = simple.getForm();
    var name = f.findField('name');


    This way does not require you to assign...
  21. Replies
    6
    Views
    8,111
    From what I see in the docs, there is no option for "destroy" under closeAction. The only options are "close" or "hide".

    You may also not be looking for the correct item, the code you posted...
  22. There are many posts about creating grids from metadata on the forum. Search for it and it will come. I recall one specifically retrieving metadata and store data in a single response and then...
  23. Replies
    1
    Views
    925
    Try out the addListener() Method of the FormPanel. This might give you what you need. I am not doing this on a form panel so I cannot be sure.



    or something like:
    ...
  24. From the docs as well, as a config param:
  25. Remove any firebug commands in the js code such as console.log(), etc..
Results 1 to 25 of 66
Page 1 of 3 1 2 3