Hi Team,
We have 2 questions mentioned below.
1. We have ListGrid in which for a column we are using as follows.
This code is working perfectly allright and I am able to click the link and the javascript method is getting called properly.
But when I try to print the canvas in which the ListGrid is present then the print preview that is being shown shows the ListGrid with link in the column when clicked on it then its opening a new browser with the URL showing javascript:void(0).
Is there a way that I could set print properties for this column alone so that only the value should be shown rather than the formatted cell value while printing.
2. Also there is one more Column in which I have some text shown to the user but while priting it should append some text to it while priting. Note that it should only append while priting not for the display. Display is only the value but while priting it should be full value and the text which has to be appended. Are there priting properties for these too?
We are working on the below environment:
SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)
Browser : IE9
Thanks in advance.
We have 2 questions mentioned below.
1. We have ListGrid in which for a column we are using as follows.
Code:
formatCellValue: function (value, record, rowNum, colNum)
{
return "<a href='javascript:void(0)' onclick='showRegularDetails()'>"+value+"</a>";
}
But when I try to print the canvas in which the ListGrid is present then the print preview that is being shown shows the ListGrid with link in the column when clicked on it then its opening a new browser with the URL showing javascript:void(0).
Is there a way that I could set print properties for this column alone so that only the value should be shown rather than the formatted cell value while printing.
2. Also there is one more Column in which I have some text shown to the user but while priting it should append some text to it while priting. Note that it should only append while priting not for the display. Display is only the value but while priting it should be full value and the text which has to be appended. Are there priting properties for these too?
We are working on the below environment:
SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)
Browser : IE9
Thanks in advance.