jQWidgets Forums

jQuery UI Widgets Forums Grid JQxGrid – Export Arabic data in PDF not working

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Paresh 7 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

  • Paresh
    Participant

    I want to export Arabic data from JQxGrid data in to PDF file, after export to PDF Arabic it shows data like ”3E
    ‘DB3E’ something like this.

    Thanks


    Stanislav
    Participant

    Hello Paresh,

    Can you please send us an example?
    A fiddle or code sample would be much appreciated.

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/


    Paresh
    Participant

    Here is the grid configuration.

    $('#deptGrid').jqxGrid(
          {
            width: '100%',
            source: dataAdapter,
            sortable: true,
            showfilterrow: true,
            pageable: true,
            filterable: true,
            rtl:this.isRTL,
            columns: [
              { text: that.labelData.dept_name, filtercondition: 'starts_with', datafield: 'name', width: '40%',
                      align: gridAlignment, cellsalign: gridAlignment},
              { text: that.labelData.head_name, filtercondition: 'starts_with', datafield: 'headName', width: '30%',align: gridAlignment,
                        cellsalign: gridAlignment},
              { text: that.labelData.cost_center_name, filtercondition: 'starts_with', datafield: 'costCentreName', width: '30%',
                        align: gridAlignment, cellsalign: gridAlignment}
            ]
          });
      }

    Arabic data come from Database.

    `onExportToPDF() {
    $(“#deptGrid”).jqxGrid(‘exportdata’, ‘pdf’, ‘Department List’);
    }

    onExportToExcel() {
    $(“#deptGrid”).jqxGrid(‘exportdata’, ‘xls’, ‘Department List’);
    }
    `

    Here is the code to export to Excel and PDF; Excel working fine while PDF has issue.

    Cost Center Name Head Name ‘ 3 E ‘ D B 3 E
    ProductionAR N/A ‘ D ( 1 E , J ‘ *
    ProductionAR N/A ‘ D ‘ / ‘ 1 )


    Paresh
    Participant

    @stanislav any update on above issue? Please let me know if you need any other details.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.