Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: convert html table to a nice looking grid

  1. #11
    Sencha User
    Join Date
    Mar 2012
    Posts
    25

    Default

    Quote Originally Posted by chramer View Post
    if you didn't set an 'idProperty' for the model it won't work...
    you can also get it like this :
    grid.getSelectionModel().getSelection()[0].get('fieldname')
    Code:
    reader: {
                            record: 'tbody tr',
                            type: 'xml',
    						idProperty: 'tcol-0'
                        }
    Code:
    grid.getSelectionModel().getSelection()[0].get('tcol-0')
    works fine...just to hide the ID though in the table

  2. #12

    Default

    how do i get the reverse of it like grid to a html table ?

Page 2 of 2 FirstFirst 12

Posting Permissions

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