Page 18 of 30 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 296

Thread: GridPanel directly to Excel.

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

    Default

    You have the code. All it does it concatenate up a glorified <table>

    Have fun with it.

  2. #172
    Ext User
    Join Date
    Mar 2009
    Posts
    14
    Vote Rating
    0
      0  

    Default I am so sorry for my poor English!

    I am so sorry for my poor English!But can you know what I mean?
    Could you help me solve theses questions?

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

    Default

    WHy can't you do it?

  4. #174
    Ext User
    Join Date
    Mar 2009
    Posts
    14
    Vote Rating
    0
      0  

    Default Question

    I don not know how to modify the code you give ,in my project I need to implement it,so can you help me?Thanks very much!

  5. #175
    Ext User
    Join Date
    Nov 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default Problem: cells in the grid containing HTML tag --> xsl file does not accept this

    Dear Animal, thanks a lot for your example.
    I'm now based on him to build a great part of my application .
    However I have a small problem: The xsl file does not accept cell on my grid containing html tag and this is why it generate a bug
    I give you exemple about theses cells:
    Data[Park_List.length][j]='<font size="2"><b>'+summ+'</span>';
    I need really a help.

    thanks

  6. #176
    Ext User
    Join Date
    Nov 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default Is this a possible solution ????

    I'm now thinking to use css with my grid as a possible solution that allow me to delete the HTM tag in my cells. But I don't know if it's possible to do that or not?
    Can you help me please,
    thanks

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

    Default

    Have a look at the documentation of setRenderer() in the Ext.grid.ColumnModel docs. The second parameter to the renderer function is a meta object whose "css" and "attr" properties you can change to format the cell content.

  8. #178
    Ext User
    Join Date
    Nov 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default It is a good solution but not in my case

    thank you for your reply.
    I see your proposotion and it's a good slolution when we would like to render a column, but in my case I would like to render only the final row.
    Until now I didn't find any solution allowing the use of css with an EXTJS grid ( without using HTML file as an
    intermediate) : Besides the solution proposed by BitPoet :-)
    can you help me?Thanks very much!

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

    Default

    This is all in the docs.

    Want to style a column? Give it an ID!

    http://extjs.com/deploy/dev/docs/?cl...odel&member=id

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

Page 18 of 30 FirstFirst ... 8161718192028 ... 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
  •