How to Print the Selected Row in Wijmo flexgrid

Posted by: rambabu on 14 September 2017, 11:27 am EST

  • Posted 14 September 2017, 11:27 am EST

    Hi,

    I have an issue regards printing the selected row in the Wijmo flexgrid.

    Firstly, i need to select the wijmo flexgrid row. Then, on clicking a button outside the flexgrid, the selected row should print.

    If possible, please provide a sample.

    Thanks

  • Posted 14 September 2017, 11:27 am EST

    Hello,

    Kindly refer to the following demo sample: http://demos.componentone.com/wijmo/5/SampleExplorer/SampleExplorer/Sample/PrintDocument/Angular/Code, which uses the PrintDocument to create and print a document. It creates a printer friendly version of the FlexGrid and creates a table which contains all the rows. In the "RenderTable’ method defined in the sample “RenderRow” method is called for every row and each row is appended to the table for printing.

    You can simply call this method only once for the selected row and append the row into the table. Later, when you print the FlexGrid as a table it will only print the table with one single row.

    Hope it helps.

    Thanks,

    Manpreet Kaur

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels