Search Type: Posts; User: javarine

Search: Search took 0.02 seconds.

  1. @lingo169
    What does your code look like so far? Post it up and we will get the grid machine revved up and ready to drag nnnnnnnnnnnn drop.
  2. Replies
    19
    Views
    46,876
    I would gander that the process should be identical to NetBeans 6.7
    Follow the outlined steps and if there are any differences, post them to this thread along with any pertinent screenshots, etc....
  3. Replies
    3
    Views
    2,087
    I believe that nobody came to your aid because you posted this in Dec 2008. Ext 3.0 and the new Ext examples overview (which includes the Ext.ux.tree.XmlTreeLoader) wasn't released until July 6th,...
  4. You can use this technique:


    var selected = Ext.getCmp('whateverYourGridIdIs').getSelections();

    then do some loop to extract the contents.



    for(i=0; i<selected.length; i++){
  5. You can use the tbar config option of Ext.form.FormPanel and load the combo boxes as items.
    That should place them next to each other in a horizontal line.
    Later,...
  6. Replies
    9
    Views
    1,696
    Thanks Nige:
    It is my pleasure to spread the gospel of javascript according to Ext.
    Catcha...
  7. Replies
    9
    Views
    1,696
    Oh, yeah.
    d.getMonth() is the javascript function.


    function whatIsLastMonth(month){
    var last_month = month - 1;

    if(last_month == -1 )
    return 11;
  8. Replies
    9
    Views
    1,696
    I'm sure you can write some custom function to handle that.



    function workTheMonths(month){
    if(month == -1){
    return 12;
    }
    else if(month == -2){
    ...
  9. Replies
    9
    Views
    1,696
    I'm sure you can do that with just plain ol' javascript.

    Var d = new Date();

    var month = d.getCurrentMonth();

    var last_month = month -1;

    var month_before_last = month - 2;
  10. Replies
    17
    Views
    2,829
    Hmm:
    Well, unfortunately I don't use PHP, yet it seems that one would construct the javascript object array as such.



    var myData = [
    while($data = mysql_fetch_array($sql))
    {

    ...
  11. Replies
    17
    Views
    2,829
    If you can bring the info to your php file, then build the javascript array in the php file as well. Returning it into a js file is something i haven't done before and I don't even know if it is...
  12. Replies
    17
    Views
    2,829
    You can just use the template in the Array Grid Example.
    http://www.extjs.com/deploy/dev/examples/grid/array-grid.html

    Just bring your mysql data up to the view and build a javascript object...
  13. Replies
    11
    Views
    2,804
    Well,
    to make your Ajax request json style just use:



    Ext.Ajax.request({

    headers: { 'Content-Type': 'application/json; charset=utf-8'}

    });
  14. Bonjour:
    j'ai cherche et il ya un autre.
    allez... http://lovcombo.extjs.eu/

    merci,
  15. Hey, check out the Saki tutorial for combobox enhancement.
    http://extjs.com/learn/Tutorial:Extending_Ext_Class

    I'm sure you can apply the same type of logic to accomplish your mission.
    Later on,
  16. Replies
    3
    Views
    1,782
    This guy uses an IconButton in his example.
    Perhaps the code would help you construct your IconButton.
    http://extjs.net/forum/showthread.php?t=47689
  17. Replies
    10
    Views
    3,962
    Check out GridPanel docs
    http://extjs.com/deploy/dev/docs/?class=Ext.grid.GridPanel

    I'm sure that the rowclick event would help you accomplish what you are trying to do.
  18. Replies
    3
    Views
    1,782
    Here is a link to another who had some IconButton issues.
    It should get you closer than you are.
    https://extjs.com/forum/showthread.php?t=38528
  19. Replies
    19
    Views
    46,876
    Here is how I accomplished getting the code completion working.
    I am using NetBeans 6.5 and Ext JS 2.2.

    NetBeans menu "Tools" and then submenu "Libraries"
    Click the "New Library..." button
    ...
  20. Did you try the steps I listed to get the Drag and Drop GridPanel working?
    If you have some issues then post your code here and we can look at it together.
    Till then...
  21. And if that solution doesn't work for you then here are a few steps to take to turn a regular GridPanel (like the one in examples/grid/array-grid.js) into a Drag and Drop capable GridPanel machine.
    ...
Results 1 to 21 of 21