How should one ebable math in js mode??
[code]
.ssheet_cont { width: 99%; height: 100px; float: left; }<script>
var dhx_sh1
window.onload = function() {
dhx_sh1 = new dhtmlxSpreadSheet({
load: "../codebase/php/data.php",
save: "../codebase/php/data.php",
parent: "gridobj1",
icons_path: "../codebase/imgs/icons/",
autowidth: false,
autoheight: false
});
//
dhx_sh1.load("1");
dhx_sh1.init();
alert ("Welcome to Aspiring Minds Pvt Ltd");
// working functions
//alert(dhx_sh1.getColIndex("B"));
//alert(dhx_sh1.getCellValue(1,1)); not working
};
function check_result() {
alert(dhx_sh1.grid.cells(5,1).getValue());
}
</script>
<div class="ssheet_cont" id="gridobj1"></div>
</br>
<div id = "button" align="center">
<button type="button" onclick="check_result()" >Check result</button>
[/code]