Class GridJsService

GridJsService class

Provides the basic operation apis used in controller actions.

public class GridJsService : IGridJsService

Constructors

NameDescription
GridJsService(IOptions<GridJsOptions>)The default constructor for GridJsService

Methods

NameDescription
AddImage(string, string, string, IFormFileCollection)Applies the add image from local file operation.
AddImageByURL(string, string, string)Applies the add image from remote URL operation.
CheckAndSyncForCollaborative(string)Check wether workbook instance is in memory cache and need to sync with history operations .this method is apply for Collaborative mode only.
CheckInCacheForCollaborative(string)Check wether workbook instance is in memory cache .this method is apply for Collaborative mode only.
CopyImage(string, string)Applies the copy image operation.
DetailFileJsonWithUid(string, string)Gets JSON string for the file by the specified unique id. .
DetailFileJsonWithUid(Workbook, string, string)Gets JSON string for the Workbook by the specified unique id.
DetailStreamJson(Stream, string)Write the JSON string for the file to the stream .
DetailStreamJson(Stream, Workbook, string)Write the JSON string for the Workbook to the stream
DetailStreamJsonWithUid(Stream, string, string)Write the JSON string for the file to the stream by the specified unique id.
DetailStreamJsonWithUid(Stream, Workbook, string, string)Write the JSON string for the Workbook to the stream by the specified unique id.
Download(string, string, string)Applies the download file operation
GetFile(string)Get file stream
Image(string, string)Get Stream of image.
ImageUrl(string, string, string)Gets the image URL.
LazyLoadingJson(string, string)Gets the JSON string of the specified sheet in the file from the cache using the specified unique id.
LazyLoadingStreamJson(Stream, string, string)Writes the JSON string of the specified sheet in the file from the cache using the specified unique id to the stream..
Load(string, string)Gets the JSON string of the file from the cache using the specified unique id,set the output filename in the JSON.
Ole(string, string, int, out string)Gets the byte array data of the embedded ole object .
UpdateCell(string, string)Applies the update operation.

See Also