The EditGrid extension allows you to embed EditGrid spreadsheets within a MindTouch Deki page.  

Vendor
MindTouch
Type Script
Categories Documents
Requires MindTouch Deki 1.8.3 or later
Status Stable
License Free/Open Source
Manifest http://scripts.mindtouch.com/editgrid.xml

 

Table of Contents

Description

This extension contains functions for embedding EditGrid collaborative spreadsheets.

See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.


Functions

editgrid.widget(user, sheet) : xml

Embed an EditGrid widget.

Parameters:

NameTypeDescription
userstrEdit grid user profile.
sheetstrName of EditGrid sheet to embed.


Script Source

<extension>
	<title>EditGrid Extension</title>
  <label>EdigGrid</label>
  <copyright>Copyright (c) 2006-2009 MindTouch, Inc.</copyright>
  <description>This extension contains functions for embedding EditGrid collaborative spreadsheets.</description>
  <uri.help>http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/Lightbox</uri.help>
  <namespace>editgrid</namespace>
  
	<function>
		<name>widget</name>
		<description>Embed an EditGrid widget.</description>
		<param name="user" type="str">Edit grid user profile.</param>
		<param name="sheet" type="str">Name of EditGrid sheet to embed.</param>
		<return>
			<html xmlns:eval="http://mindtouch.com/2007/dekiscript">
				<head>
				</head>
				<body>
					<iframe frameborder="0" eval:src="'http://www.editgrid.com/publish/grid/user/'.. uri.encode(args.user) .. '/'.. uri.encode(args.sheet) ..'?show=rh,ch,mb,&amp;version=2&amp;frame_style=border%3A9px%20solid%20%23666%3Bheight%3A380px%3Bwidth%3A100%25'" style="border:9px solid #666;height:600px;width:100%" />
				</body>
			</html>
		</return>
	</function>
</extension>

 

Tag page
Viewing 3 of 3 comments: view all
What's the SID to add this service? Thanks!
Posted 17:10, 9 Dec 2008
It's a script. In 8.08 and later, you don't need the SID to run it. In earlier versions, you'll need the DekiScript extension SID to host the script: http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/DekiScript
Posted 17:17, 9 Dec 2008
Thanks.. that was DUMB, we need to update our Wiki!!!!!
Posted 19:04, 9 Dec 2008
Viewing 3 of 3 comments: view all
You must login to post a comment.