Categories | Question details Back To List | ||
ColType Price and Print hightligted rows Hi, I have 2 little questions. 1. In the column with the type Price, I need to put the $ symbol after the number (500$ instead of $500). How can I do? 2. The grid.printview() works very good, but how can do to print only the highlighted (selected) rows? Thanks for your help. Alain Answer posted by Support on Feb 13, 2008 03:52 >>1. In the column with the type Price, I need to put the $ symbol after the number (500$ instead of $500). How can I do?
You can create custom excell or customize existing one dhtmlxgridcell.js, line 1080 eXcell_price.prototype.setValue = function(val){ ... this.setCValue("<span></span><span style='padding-right:2px;color:"+color+";'>"+val+"</span><span>$</span>",val); } >>but how can do to print only the highlighted It is not possible with current version of grid. Can be done with customization of printView funciton inside dhtmlxgrid_nxml.js, currently it loop through all rows for (var i=0; i<row_length; i++) { it can be changed to loop through selected rows only |