Hi I’m aiming at expanding the functionality of dhtmlxshreadsheet, however currently I’m a beginner in this library. I’m facing a trouble time in
- accessing the individual cell elements
2.enabling math in spreadsheet
I’m trying the following code but in vain. Please guide??
[code]
.ssheet_cont { width: 700px; height: 450px; float: left; }<script>
window.onload = function() {
var 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.mathInit();
dhx_sh1.load("1");
alert(dhx_sh1.getCellValue(1,1));
};
</script>
<div class="ssheet_cont" id="gridobj1"></div>
[/code]
Overall my goal is to get the cell contents of any row and col on a HTML button click in a math enabled spreadsheet???