Support for the Table Grid Next Generation app - DONE

iDalko released a new and advanced version of TGE, TGE NG. It also supports JSD portal. Users would like to export Jira data managed by TGE NG to PDF.

https://marketplace.atlassian.com/apps/1217571/table-grid-next-generation?hosting=cloud&tab=overview

Have more questions? Submit a request

9 Comments

  • 0
    Avatar
    Dmitry Kuznetsov

    use case would be to creation, approval and printout of expense claims, purchase orders and other kinds of similar documents, which include dynamic lists of items/checklists/etc and must to be presented in specific format to fulfil legal requirements.

  • 0
    Avatar
    Andrii Zhulinskyi

    Hello Levente.

     

    My name's Andrii and I'm from iDalko team.

    Could you please add the next code to your 'issue-fo.vm' template

    #elseif($customFieldTypeKey == 'tge.cloud:idalko-table-grid-custom-field-key')
    #set($htmlMarkup = $moduleDescriptor.getColumnViewHtml($customField, $customFieldValue, $issue, $map.build(), $fieldLayoutItem))
    ## remove all <div ...> tags
    #foreach($j in [1..10])
    #set($s = $stringutils.indexOf($htmlMarkup, "<div"))
    #if($s != -1)
    #set($e = $stringutils.indexOf($htmlMarkup, ">", $s))
    #if($e != -1)
    #set($e = $e + 1)
    #set($htmlMarkup = $stringutils.remove($htmlMarkup, $stringutils.substring($htmlMarkup, $s, $e)))
    #end
    #end
    #end
    ## remove all </div> tags
    #set($htmlMarkup = $stringutils.remove($htmlMarkup, "</div>"))
    #set ($htmlMarkup = $htmlMarkup.trim())
    $pdfRenderer.htmlToFo($htmlMarkup)

     

    Regards,

    Andrii.

  • 0
    Avatar
    Levente Szabo

    Hi Andrii,

    Thanks for reaching out to us! I saw you also opened a support ticket, so we will pick up the conversation there!

    Thanks!

  • 0
    Avatar
    André Lehmann

    Hi Levente,

    sorry for re-opening that here.

    I have added your the given code to the template and the table got "partly" exported.

    Partly because a Calculation-Column and overall-sum isn't exported and the order of the columns is different than in the issue.

    Any idea for that?

    Kind regards
    André

    Edited by André Lehmann
  • 0
    Avatar
    Aron Gombas

    André, the code snippet above is an "non-official" temporary solution, submitted by the iDalko team (developers of the Table Grid Next Generation app).

    We're now working on the official integration, and will post updates here soon. Thanks for the patience!

  • 0
    Avatar
    Andrii Zhulinskyi

    Hello Andre.

     

    Is the 'Calculation-Column' a column of type 'formula'?

    If so, the fix for the problem with the export of the formula type columns will be included in version 1.3.1 of Table Grid Next generation.

     

    Regards,

    Andrii.

  • 0
    Avatar
    André Lehmann

    Hi Andreii,

    yes its of type 'Formula' Thanks for the hints.

    any ETA on the new release or the official integration?

    Kind regards
    André

  • 0
    Avatar
    Levente Szabo

    Hi Andre,

    It's on our roadmap and working on the official integration.

    Please follow this space as I'll share updates here as soon as we have them.

    Thanks for your patience,

    Levente

  • 2
    Avatar
    Levente Szabo

    I'm thrilled to announce that the integration between Better PDF Exporter and Table Grid Next Generation has been released in Better PDF Exporter 7.3.0!

    You can read the details in the release notes >>>

    Thanks for your patience everyone and feel free to reach out to us with any questions!

Please sign in to leave a comment.