Page 19 of 30 FirstFirst ... 9171819202129 ... LastLast
Results 181 to 190 of 296

Thread: GridPanel directly to Excel.

  1. #181
    Ext User
    Join Date
    Nov 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default Yes it's about styling a particular row of my gridPanel

    Yes exactly , I want to style a particular row on my gridPanel using css.
    I used Html tag on each cell of my row but it generate a bug when creating the xsl file (file to be opened by Excel).
    can you help me?Thanks very much!

  2. #182
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,607
    Vote Rating
    59
      0  

    Default

    Follow the link!!!!!!!

  3. #183
    Ext User
    Join Date
    Nov 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default I used As you said but it does not work

    I followed the link that you send to me and I used this code but it does not work:

    grid.getView().getRowClass = function(record, index){
    return (index==6 ? 'blue-row' : ''); //6 is the number of the last row of my grid
    };


  4. #184
    Ext User
    Join Date
    Nov 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default Finally I have the right Grid

    it is the right code but I did an error in the css file.

    Finaly I have a good gridPanel with a colored Line using css file and it can be exported to Excel .

    thank you: BitPoet and Animal

  5. #185
    Ext User
    Join Date
    Nov 2007
    Posts
    1
    Vote Rating
    0
      0  

    Default gridToExcel

    gridToExcel.js

    fld is undefined

    [IMG]chrome://firebug/content/blank.gif[/IMG] switch(fld.type) {


    ??
    pease tell me


    Email:zhoushangbin@gmail.com

  6. #186
    Ext User
    Join Date
    Mar 2009
    Posts
    21
    Vote Rating
    0
      0  

    Default

    Where might I find the where the colors are stored for the rows and headers?

    Never mind found them.

  7. #187
    Ext User
    Join Date
    Feb 2008
    Posts
    275
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by csqjean View Post
    gridToExcel.js

    fld is undefined

    [IMG]chrome://firebug/content/blank.gif[/IMG] switch(fld.type) {


    ??
    pease tell me


    Email:zhoushangbin@gmail.com


    Probably you are using sm: new Ext.grid.CheckboxSelectionModel (). He substitutes for sm: new Ext.grid.RowSelectionModel ({singleSelect: true}).

    I had a same error and trade with him.

  8. #188
    Ext User
    Join Date
    Sep 2007
    Posts
    11
    Vote Rating
    0
      0  

    Default

    not support chinese character

  9. #189
    Sencha User BitPoet's Avatar
    Join Date
    Sep 2008
    Location
    Bavaria
    Posts
    277
    Vote Rating
    1
      0  

    Default

    I'm using it without problems with chinese (utf8) characters. Make sure you have all involved files in the right encoding and the server sends the correct headers too.

  10. #190
    Ext User
    Join Date
    Feb 2009
    Posts
    34
    Vote Rating
    0
      0  

    Wink N1 Extension

    Hi Animal thats an amazing Extension!

    I have a Question is it possible to export only the selected Rows in a Grid?
    and not the complete store.

    Lars

Page 19 of 30 FirstFirst ... 9171819202129 ... 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
  •