jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • Paresh
    Participant

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

    Thanks.


    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 )

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