You are here

function socialcalc_default_edit in Sheetnode 5

Same name and namespace in other branches
  1. 6 socialcalc.inc \socialcalc_default_edit()
  2. 7.2 socialcalc.inc \socialcalc_default_edit()
  3. 7 socialcalc.inc \socialcalc_default_edit()
1 call to socialcalc_default_edit()
_sheetnode_phpexcel_import_do in modules/sheetnode_phpexcel/sheetnode_phpexcel.import.inc

File

./socialcalc.inc, line 471
SocialCalc manipulation functions Translated from socialcalc-3.js and companion files

Code

function socialcalc_default_edit($sheet) {
  return array(
    'rowpanes' => array(
      'first' => 1,
      'last' => isset($sheet['attribs']['lastrow']) ? $sheet['attribs']['lastrow'] : 1,
    ),
    'colpanes' => array(
      'first' => 1,
      'last' => isset($sheet['attribs']['lastcol']) ? $sheet['attribs']['lastcol'] : 1,
    ),
    'ecell' => array(
      'coord' => 'A1',
    ),
  );
}