rapantti

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: Excel export #125492
    rapantti
    Participant

    Hi,

    I tried it and no difference. Still “number” cells are in general format. So I can’t show them in two decimal format. 100.00 will be 100. Yeah sure they are aligned to right. Same happens in your example.

    in reply to: Excel export #125486
    rapantti
    Participant

    I’ll try tomorrow. I’ve also tested values as float (not strings) but as I remember it didn’t work. So the problem is with the array driver and not the data set or should it work with array driver? Have you documented this somewhere?

    in reply to: Excel export #125481
    rapantti
    Participant

    Hi,

    I tried it and it didn’t work as expected. Every cell is still in general -format.

    Sample data:

    Excel options:

    Extracted from our controller:

    So basically it’s pretty simple. I’ve tried with $grid->setColModel($colModel) and it doesn’t make any difference except pdf exports will break if I don’t define it. I tried to check your php code but it’s obfuscated so it’s impossible. Any help will be appreciated.

    in reply to: Excel export #125477
    rapantti
    Participant

    Hi,

    We’re using version 5.0.0 and I’ve tried with Excel5, Excel2007 and XML. XML works fine with numbers but it throws following error: “The file format differs from the format that the file name extension specifies” so it’s no good for us. Only real solution would be export in genuine excel -format. I’m not sure if demo helps because it’s pretty simple export with few text / number fields.

    And one more question. I created a colModel for jqGrid. It contains following fields:

    So does the ‘formatter’ -field have any influence on export cell types?

    in reply to: Problem with export after update #124880
    rapantti
    Participant

    Hi,

    Sorry for delay! Here is the $data array content:

Viewing 5 replies - 1 through 5 (of 5 total)

Stay connected with us in your favorite flavor!