Read Only for the WP spreadsheet plugin

I can.t figure out how it is done? I see it is supposed to be a feature but…

Also the functions don’t work for me ie =sum(d2:d60) ???

Hi,
please, find file spreadsheet_data.php, there is the follow code at the end of it:

$conn = new GridCellConnector($res, $table_prefix."dhx_");
if (!isset($available_to[$usertype]) || $available_to[$usertype] == false)
	$conn->set_read_only(true);
$conn->render();

If you wish to turn readonly mode on for any user then you can comment line with checking access rights. If you wanna use it always in edit mode for each user then you may comment line $conn->set_read_only(true);

To enable math usage you have to specify math=true into initialization shortcode:
docs.dhtmlx.com/doku.php?id=dhtm … the_plugin