insert image into Grid (image is from anothercomputer)
When i write html page
<img src="\\192.169.100.14\ShareFolder\ExamResultImage\ct.jpg">
--> it can show-->ok)
but in ActiveWidget
<script type="text/javascript">
var obj = new AW.UI.Grid;
var HeaderText = new Array();
var CellText = new Array();
var selectorData = ["CR","CT","MR","RF","XA","ES","US","検体","生理","細菌","病理"];
CellText = [["nano","pipo","<img src=\\192.169.100.14\ShareFolder\ExamResultImage\ct.jpg>","","",""]];
//-->image can't show :-( what wrong
obj.setId("ExamResultsTable");
obj.setHeaderText(HeaderText);
obj.setCellText(CellText);
obj.setColumnCount(10);
obj.setRowCount(10);
obj.setVirtualMode(false);
obj.onHeaderClicked = function(event,index){return 'disabled'};
obj.setSelectionMode("single-cell");
obj.setSelectorVisible(true);
obj.setSelectorWidth(70);
obj.setSelectorText(selectorData);
obj.setRowHeight(80);
document.write(obj);
</script>
Now i want to show image from another computer e.g \\192.169.100.14\ShareFolder\ExamResultImage\ct.jpg
What i do
<img src="\\192.169.100.14\ShareFolder\ExamResultImage\ct.jpg">
--> it can show-->ok)
but in ActiveWidget
<script type="text/javascript">
var obj = new AW.UI.Grid;
var HeaderText = new Array();
var CellText = new Array();
var selectorData = ["CR","CT","MR","RF","XA","ES","US","検体","生理","細菌","病理"];
CellText = [["nano","pipo","<img src=\\192.169.100.14\ShareFolder\ExamResultImage\ct.jpg>","","",""]];
//-->image can't show :-( what wrong
obj.setId("ExamResultsTable");
obj.setHeaderText(HeaderText);
obj.setCellText(CellText);
obj.setColumnCount(10);
obj.setRowCount(10);
obj.setVirtualMode(false);
obj.onHeaderClicked = function(event,index){return 'disabled'};
obj.setSelectionMode("single-cell");
obj.setSelectorVisible(true);
obj.setSelectorWidth(70);
obj.setSelectorText(selectorData);
obj.setRowHeight(80);
document.write(obj);
</script>
Now i want to show image from another computer e.g \\192.169.100.14\ShareFolder\ExamResultImage\ct.jpg
What i do
Nano
October 23,