Page 2 of 24 FirstFirst 123412 ... LastLast
Results 11 to 20 of 239

Thread: Ext.ux.TouchGridPanel v2.0b1

  1. #11
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Bumped up to version 1.3 with refactoring of the getting of row and column indexes.

    Before it was bubbling up the DOM searching for a CSS class for a match. I now use the getAttribute function which makes it so much simpler and faster.

    I also went through and commented the Ext.ux.TouchGridPanel.js file. I'm not good at commenting as I go but here you are!
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  2. #12
    Sencha User tomalex0's Avatar
    Join Date
    Apr 2009
    Location
    San Jose, CA
    Posts
    589
    Vote Rating
    20
      0  

    Default

    Hi

    could we get an option to show/hide option for Headers, so that we could implement a delete Column for the grid.

    If click some edit button the "Delete" column will show and we could delete each row.

  3. #13
    Ext User
    Join Date
    Sep 2010
    Posts
    10
    Vote Rating
    0
      0  

    Default scrolling problem

    Hi Mitchell,

    You mentioned an issue that you resolved with scrolling. I am having a similar problem, can you explain what your issue was and how you fixed it?

  4. #14
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Quote Originally Posted by tomalex0 View Post
    Hi

    could we get an option to show/hide option for Headers, so that we could implement a delete Column for the grid.

    If click some edit button the "Delete" column will show and we could delete each row.
    I have created two new functions in the class... hideColumn and showColumn. All you have to do is pass the index of the column:

    Code:
    grid.hideColumn(2);
    grid.showColumn(2);
    Github has been updated!
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #15
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Quote Originally Posted by MikeTorra View Post
    Hi Mitchell,

    You mentioned an issue that you resolved with scrolling. I am having a similar problem, can you explain what your issue was and how you fixed it?
    The issue for me was that the rows were not scrolling. When I first started off, nothing was scrolling so I had to instantiate my own instance of Ext.util.Scroller to the rows (and not the headers).

    What is your issue?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  6. #16
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Bumped to version 1.4 as I added editing. Execute the enableEdit function and a column will appear with a red delete button on the right side. Click of this button will open a Sheet component to confirm.

    Also have a couple small sort icons. Will probably make them bigger.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  7. #17
    Ext User
    Join Date
    Sep 2010
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Mitchell,

    Great job, I just added the sample code to a simple PhoneGap project and it works great in the simulator!

    I have been trying to tweak the code that creates the scroller to enable horizontal scrolling but have not had any luck.

    I tried the obvious

    horizontal : true,

    any ideas on how to add horizontal scrolling? My application would need to scroll the headers and data horizontally (and the data vertically) is this possible?

    If you could give me some pointers I would volunteer to add this functionality to the work you have.

    thanks again. John

  8. #18
    Sencha User
    Join Date
    Sep 2010
    Posts
    75
    Vote Rating
    0
      0  

    Default

    Great job! I'm wondering which method should I use to get the row index and the rowData. The selectionchange method dont work.

  9. #19
    Sencha User
    Join Date
    Sep 2010
    Posts
    75
    Vote Rating
    0
      0  

    Default

    Hi, Mitchell:

    I'm wondering if you could give me some hint on how to trigger a event when I select one single row in a GridPanel. For example: I want to display the id of that row.

    Thanks

  10. #20
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    I'm sorry, been working hard on the contest. It was working in a previous version. I will have to look at the logic of event firing.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Page 2 of 24 FirstFirst 123412 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •