Search Type: Posts; User: Kachopsticks

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Not sure why ownerCt is not set up. Maybe the combo box is not set up correctly. As a work around you could fire a global event from your select function and just have your grid listen for it. Once...
  2. currentDate date = new Date();
    fromDate date = newDate();
    fromDate.setDate(currentDate.getDate() -180);


    give that a try
  3. I just got it. I am not sure what the exact cause of this issue was, but I believe it has something to do with the fact that I was adding in these columns in my initComponent function. I suspect it...
  4. I need to use drag and drop and when I click my row to begin the drag an error is thrown in the getDragData function. This is the original function, not overridden. The code to create my grid is...
  5. I have never added a grid panel dynamically. To accomplish what you are trying to do I would just add the grid panel at the same time you create your form, so that the grid panel is added...
  6. So I ended up taking a different root and modified some plugins that are listed on the Ext JS 3 example page in the drag and drop section. I will try to remember to post them when I am done. After...
  7. So essentially I am trying to create a drop zone either on a field or on a form. I was trying to follow the example at the url below. The code below is from the example, but when I try to do this...
  8. You will want to do something like this.



    this.getColumnModel().config.push(new Ext.grid.Column({
    id: Ext.id(),
    dataIndex: 'myNewColumnDataIndex',
    header: 'My New...
  9. I was never able to resolve this and I guess our test team is looking to continue using there tool. The error they get happens in IE 8, but there tool is able to open my application correctly in...
  10. Replies
    2
    Views
    991
    My versions of Ext JS have been the same, always 3.4. I have made multiple code changes between the two releases, but no changes to the fields in question.
  11. Replies
    2
    Views
    187
    Well I got it working and figured I would post the answer in case anyone else runs into this issue. You have to use loadRawData() instead of loadData() if you implement it the way I did. Just a...
  12. Replies
    2
    Views
    187
    Well, I believe I am getting farther but my grid is not loading and I am not sure why. I only expect my name column to load since the other columns are not mapped to the results correctly. I have...
  13. Replies
    2
    Views
    187
    I am still learning Ext JS 4 coming from 3.4 I have a button which has a controller and a controller action. When my button is clicked it fires off an AJAX request. I get my response back and now...
  14. Replies
    2
    Views
    991
    I have two separate versions of code for my application. The first picture below is from my older version. I made multiple changes to my code since the first picture and the label in the second...
  15. You should use the hbox or vbox layouts on your top component. Then the components that you want to have re size proportionately should have a flex value. So if you have two components and you want...
  16. I am going to take a shot at this, not sure if this is what you are going for. Assuming that one record is in the json format that your provided. You could try modeling a store like this (I would...
  17. The only thing that I am questioning is your url param. If you are certain that the url path you provided is correct, I would try adding the file extension to the end of it. I do not use HttpProxy,...
  18. Do you get any javascript errors in the browser when you click on the row? It sounds like something is either erroring or you have a function listening for a click event somewhere that is not...
  19. That was it! I had my controlQuery set to 'button' so the function was associated to every button in my application. I changed the controlQuery to be my buttons's itemId '#searchButton' and now it...
  20. Hello, after doing ext js 3.4 for a few years I am starting Ext JS 4. I am writing a new application and have run into an odd issue. I have created a controller that has a controller action which...
  21. This is a cleaner way. Just replace the previous this.togglePasswordFields function.


    togglePasswordFields: function(checked){
    this.clearMyFields();//call a function to clear your fields...
  22. The line value: Ext.util.Format.date(new Date(), 'g:00 A') seems to work for me. I am wondering if it is how you are creating your field. When I use the rowEditor I add it to the column which I...
  23. There was code trying to hide the check box that was being called form an initComponent function that was higher up in the reference chain. Commenting out the code fixed the issue. I would think...
  24. This does not show a message box, but will highlight the field in red and the form will not be valid.


    new Ext.form.NumberField ({
    name: 'number_of_tickets',
    id:...
  25. I am thinking this will work for you, but it will change the behavior of the menu a little bit. As soon as your mouse leaves the menu, the menu will close.



    onRender: function(ct, position){...
Results 1 to 25 of 43
Page 1 of 2 1 2