jQuery UI Widgets Forums Grid exportdata for html missing font-family

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Ivo Zhulev 7 years, 8 months ago.

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

  • ryx725
    Participant

    Good day Everyone, I have a problem in using ‘exportdata’ to print grid.

    this is my columns:	 {
    				text : 'name',
    				datafield : '1',
    				width : 150,
    				cellclassname: cellclass,
    				cellsalign: 'center',
    				align: 'center'
    			}
    
    style sheet:   .grid-row-class {
    	       color:#69aa46!important;
    	       background-color: lightblue!important;
    	       font-family:SimHei;
    	     }
    

    I use ‘cellclassname: cellclass’ to add some style on it. So it’s work well utill i wanna print it.
    var gridContent = $(“#jqxgrid1”).jqxGrid(‘exportdata’, ‘html’);
    Export it and show it in a new window. Then the new html doesn’t contains style of ‘font-family'(color,background-color is ok)

    exportdata for html missing font-family #86347

    Ivo Zhulev
    Participant

    Hi ryx725,

    We shall investigate that behavior.

    Best Regards,
    Ivo

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

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

You must be logged in to reply to this topic.