GridJsService class

GridJsService class

Provides the basic operation apis used in controller actions.

The GridJsService type exposes the following members:

Constructors

ConstructorDescription
__init__(self, options)The default constructor for GridJsService

Properties

PropertyDescription
settingsRepresents the workbook settings.

Methods

MethodDescription
check_in_cache_for_collaborative(self, uid)Check wether workbook instance is in memory cache .this method is apply for Collaborative mode only.
update_cell(self, p, uid)Applies the update operation.
detail_stream_json_with_uid(self, stream, file_path, uid)Write the JSON string for the file to the stream by the specified unique id.
detail_stream_json(self, stream, file_path)Write the JSON string for the file to the stream .
lazy_loading_stream_json(self, stream, sheet_name, uid)Writes the JSON string of the specified sheet in the file from the cache using the specified unique id to the stream..
add_image(self, p, uid, iscontrol, file_input_stream)Applies the add image from local file operation.
add_image_by_url(self, p, uid, imageurl)Applies the add image from remote URL operation.
copy_image(self, p, uid)Applies the copy image operation.
load(self, uid, filename)Gets the JSON string of the file from the cache using the specified unique id,set the output filename in the JSON.
image(self, uid, picid)Get Stream of image.
ole(self, uid, sheetname, oleid, label)Gets the byte array data of the embedded ole object .
image_url(self, base_url, picid, uid)Gets the image URL.
get_file(self, fileid)Get file stream
download(self, p, uid, filename)Applies the download file operation

See Also