New File Format:SpreadJS v16 Crack

news2024/9/30 3:35:47

New File Format 有你需要的更新内容,请大家及时更新到最新版

SpreadJS V16 has just released, and with it, Ω578867473 some exciting new features, including a new SpreadJS file format and enhancements to the TableSheet, Designer, Calculation, and Workbook, plus new support for Excel-Like Form Controls and more. To find out more about these features to leverage for your application, continue reading below.

 

One of the most exciting new features we have added to SpreadJS is a new improved file format. This new file type can greatly improve the performance of importing large Excel files while also crating a smaller, better optimized file when saving.

 

The new .sjs file format works by bypassing the previous need to first export to SSJSON and now translates the data directly to the model. The resulting data is saved to a zipped .sjs file with smaller SSJSON files, making it similar to Excel’s own XML structure. This format now makes the ExcelIO process much faster and smaller.

 

For more information about this feature, check out the blog here: New JavaScript Spreadsheet File Formats in SpreadJS v16

File Format Documentation

TableSheet Enhancements

SpreadJS Tablesheet, a separate, high-performance DataTable has received a couple more features for v16:

Hierarchy in Data Manager

TableSheets now support hierarchy data in the source data. This includes 4 different types of data for records with:

  • Properties “id” and “parentId”

  • Properties that indicate hierarchy level

  • Properties that include hierarchical children

  • A primary key that can be parsed to a hierarchy using a custom function

Hierarchy operations have been added as well, giving users the ability to:

  • Promote/Demote records

  • Move records up/down

  • Insert records after/before or above/below

  • Delete a record

  • Expand/Collapse all record levels or specific levels

  • Sort/filter records

TableSheet Hierarchy Data Documentation 

Data Manager Field Name Mapping

The data source schema for the Data Manager now supports setting an alias for columns, allowing for different names between the front-end and back-end of a data source. This can be done by simply setting the “Caption” property when adding a view to the Data Manager.

Designer Enhancements

We have made a few enhancements to the Designer Component for SpreadJS, including some of the corresponding features from the previous TableSheet section in this blog:

TableSheet Template and Panel Enhancements

When TableSheet was originally added to SpreadJS, we included a panel to manage TableSheets in the Designer. When working with relationship data in the column list, specific columns can now be collapsed. In addition, relationship columns can be clicked on to show the details for that specific column. This functionality also works for the TableSheet Panel that shows on the right side of the Designer when selecting a TableSheet in the workbook. Additional features include grouping and dragging fields around.

Work in the Designer TableSheet Documentation

TableSheet Hierarchy Data

Another enhancement to the TableSheet implementation in the Designer is the addition of support for hierarchical data in the Columns tab of the Data Source. Columns now have a separate “Hierarchy” section with things like Type, Summary Formula, and Outline Column that can be defined:

These options can be used as follows:

  • Type - Defined as either Parent, ChildrenPath, or Level

  • Summary Formula - Input the hierarchy summary formula for a specified column

  • Oultine Column - Customize the display of the column, specifying whether or not to include checkboxes, images, or indicators

Selection-Level Find/Replace

When searching for specific data in a large worksheet, you may want to only search a specific selection of cells. With v16 we added an enhancement to the Find and Replace functionality to search only in a specific selection of cells.

Find and Replace Documentation

Format Pane

The new Format Pane button lets users easily open up the existing side panels for Shapes, Pictures, and Charts.

Insert and Design Tab Documentation

Calculation Enhancement

Invalid Formula Input Behavior and Style

SpreadJS automatically recognizes invalid formulas, and shows an error when a user tries to submit one. However, the formula would also be removed if it was invalid, and with this release we have enhanced this behavior to keep the formula in the cell but instead convert it to text if the AllowInvalidFormula option is set to true:

spread.options.allowInvalidFormula = true;

With this enhancement we have also added a cell state specifically for invalid formulas. This means that you can mark cells that have invalid formulas and apply styles to those specific cell.

Allow Invalid Formulas Documentation

Shape Enhancements

Excel-Like Form Controls

To make it even easier to create your own forms within SpreadJS, we have added some useful Excel-Like form controls based on SpreadJS shapes. These controls include:

  • Buttons

  • Spin Buttons

  • List Boxes

  • Combo Boxes

  • Check Boxes

  • Option Buttons

  • Group Boxes

  • Labels

  • Scrollbars

These controls can be placed anywhere in the worksheet by specifying the left, top, width, and height parameters of the addFormControl method that represent the location and size of the control. Once the location and size are set and the control is created, it can be bound to a specific cell, such as the age spin button from the screenshot above. In addition, a new event called FormControlValueChanged has been added to fire whenever the value of a form control changes (either UI operation, API call, or associated cell changes).

Form Controls Documentation

Resizing Enhancement

Developers can now restrict or allow different types of shape resizing. These types include aspect, horizontal, and vertical resizing, and can be simply set using the API “allowResize”.

Resize Shapes Documentation

Shift+Mouse Resize Behavior

When allowResize is set to true in a sheet, the shift key can be held down while resizing a shape with the mouse to retain the shape’s aspect ratio.

Workbook Enhancements

We have made a few enhancements to the basic workbook functionality of SpreadJS:

Copy/Cut Cancel Event

The events for copying and cutting have been enhanced to provide the current state of the clipboard. This can help with implementing specific functionality during certain stages of the copy/cut/paste process with additional arguments added to the following events:

  • ClipboardChanging

  • ClipboardPasting

  • ClipboardPasted

Use Events when Clipboard Changes Documentation

Cell Decoration Style

Our style implementation has been enhanced to include cell decoration. This includes:

  • Ellipse Color

  • Corner Fold Color

  • Icon (Position, Icon, and Color)

Custom Styles for Data Validation

Data validation is useful to mark data as incorrect or prevent entering of specific data. Styles could be set of that validation, but for this release we have added the ability to set custom styles for the data validation.

Cancel Input in EditEnding and EditEnded Events

The EditEnding and EditEnded events occur after a user has entered or changed data in a cell. With the v16 release we have added a cancel parameter so that the edit can be cancelled if needed by the developer.

//

  • New! File Format
  • TableSheet Enhancements
    • Hierarchy in Data Manager
    • Data Manager Field Name Mapping
  • Designer Enhancements
    • TableSheet Template and Panel Enhancements
    • TableSheet Hierarchy Data
    • Selection-Level Find/Replace
    • Format Pane
  • Calculation Enhancements
    • Invalid Formula Input Behavior and Styles
  • Shape Enhancements
    • Excel-Like Form Controls
    • Resizing Enhancement
    • Shift+Mouse Resize Behavior
  • Workbook Enhancements
    • Copy/Cut Cancel Event
    • Cell Decoration Style
    • Custom Styles for Data Validation
    • Cancel Input in EditEnding and EditEnded Events

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/128719.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

基于51单片机的数字电压表(TCL549)(Proteus仿真+程序)

编号:31 基于51单片机的数字电压表(TCL549) 功能描述: 本系统由51单片机最小系统TCL549模块一路模拟量输入模块液晶1602显示模块 1、主控制器是89C52单片机 2、TCL54模数转换器进行A/D转换,读取电压一路数据&#xf…

VSCode(Flutter开发)使用的 4 个 技巧

1.更清晰的文件夹结构 在创建一个新的 flutter 项目后,有太多的文件。但是我们可以在 VSCode 中用非常简单的步骤来构造这些文件: 打开命令面板(Ctrl/Cmd Shift P) 键入“首选项: 打开设置(JSON)” 将以下代码行添加到 setings.json: { "explorer.fileNes…

yapi的安装

Yapi的安装 Yapi是一款不错的接口管理软件,我主要用它来进行接口Mock。 Yapi安装所需环境: Node.js(7.6)Mongodb(2.6)git 各环境安装地址: git:https://git-scm.com/downloadsN…

[极客大挑战 2019]Buy Flag1(BUUCTF)

前言: 这篇文章还是是为了帮助一些 像我这样的菜鸟 找到简单的题解 题目描述 解题工具: 我爱用edit this cookie2和hackerbar, 当然也可以burpsuite和fiddler抓包 解题过程: 看到他说flag要100000000 MONEY, 还要是Cuits students, …

windows11 elasticsearch-head 插件安装

1.elasticsearch-head 插件介绍 elasticSearch-head就是一款能连接ElasticSearch搜索引擎,并提供可视化的操作页面对elasticSearch搜索引擎进行各种设置和数据检索功能的管理插件,如在head插件页面编写RESTful接口风格的请求,就可以对Elastic…

DaVinci:限定器之蒙版优化

调色页面:限定器Color:Qualifier使用限定器等工具进行抠像后,所得到的遮罩 Matte(又称为“蒙版”)可能会存在诸多问题,比如边缘过于锐利或呈锯齿状、遍布杂点(噪点)或中间有不规则的…

【pandas】教程:5-从已有数据中创建新列

Pandas 从已有的数据列中创建新列 加载数据 本节使用的数据为 data/air_quality_no2.csv,链接为 pandas案例和教程所使用的数据-机器学习文档类资源-CSDN文库 通过 假设在25,1013hPa 压力下密度为 1.882 air_quality["london_mg_per_cubic"]…

java调用dubbo服务接口_Dubbo使用invoke指令来调用dubbo接口以及telnet命令连接Dubbo服务

java调用dubbo服务接口_Dubbo使用invoke指令来调用dubbo接口前言正文Mac使用telnet命令提示:command not found,Mac安装telnet 命令一、telnet是什么?二、telnet命令连接Dubbo服务显示列表 – ls显示服务端口和连接 – ps跳转服务 – cd显示当…

[虚幻引擎][UE][UE5]在UE5中使用线条画一颗简单的三维圣诞树(练习向)

TOP 一、前言 搞得不好看,简单了解一下叭。主要是在三维中使用线条。需要理解圆的方程式。 (小声逼逼,后来还想搞个三维圆锥螺旋线写个点球点缀一下的,结果上网一搜没人给出方程式,只好不了了之了,有哪位…

Linux之从命令行管理文件

文章目录1. 使用ln命令,创建grading/grade1文件的硬链接,取名为/hardlink2. 使用ls -l 命令查看grading/grade1文件的链接数3. 使用ln -s命令,创建grading/grade2文件的软链接,取名为student/softlink4. 使用ls -l 命令查看studen…

简单随机多边形切割方案

过程化处理中希望能够对某块区域生成随机多边形,以及再切割成子多边形 各种尝试之后发现一种通过python、turtle、pyclipper实现的简单方案 随机多边形 采用python直接生成随机多边形,算法原理:将360度随机拆分成各个角度,再通过…

过年不让放炮,我用Python实现了1000响大地红的特效

同志们,马上(后天)就要2023年啦,您有没有对象啦哈哈哈 咳咳,搞错了~~再来 新的一年,新的气象,穿上新衣逛街 俗话说得好,这所谓放鞭炮就是来压邪祟,除恶的,…

web前端-javascript-DOM和BOM详解

文章目录DOM 和 BOM1. DOM2. BOM2.1 BOM 简介2.2 分类2.3 语法1) Navigator 当前浏览器2)Histry 向前或向后翻页3)Location 地址栏的信息DOM 和 BOM 1. DOM 浏览器已经为我们提供了文档节点的对象,这个对象是 window 对象的属性可以在页面中…

2023北京/深圳NPDP产品经理入门到精通班招生简章

NPDP产品经理国际资格认证是国际公认的唯一的新产品开发专业认证,集理论、方法与实践为一体的全方位的知识体系,为公司组织层级进行规划、决策、执行提供良好的方法体系支撑。 我们针对互联网时代的个人、互联网企业、与传统企业推出一系列学习。 课程从…

喜上加喜|怿星科技荣获高工智能金球奖两项大奖

12月2日晚,2022第六届高工智能汽车金球奖年度颁奖典礼在上海虹桥正式开幕,来自行业内的100多家头部企业出席了此次盛会。 金球奖是由高工智能汽车组织的聚焦于汽车智能网联产业链的年度颁奖盛典。参选企业覆盖了汽车智能化创新公司、人工智能创新公司、传…

怎样把图片转化成jpeg格式?jpeg格式转换器分享

我们保存照片时发现有时候保存的图片为png格式或webp格式,而上传到其他平台的时候会有jpeg图片格式要求,那么就需要将图片转为jpeg,如何将图片格式转换(在线图片格式转换器(jpg、png、gif、webp、bmp、tiff&#xff09…

GoF23——工厂模式

✯ 面向对象设计原则 对接口编程而不是对实现编程优先使用对象组合而不是继承介绍说明 工厂模式(Factory Pattern)属于创建型模式,它提供了一种创建对象的最佳方式。 在工厂模式中,我们在创建对象时不会对客户端暴露创建逻辑&am…

Java8并行流---并行数据处理与性能

Java8并行流---并行数据处理与性能0.主要内容1.并行流1.1将顺序流转换为并行流附录附录.10.主要内容 主要内容 用并行流并行处理数据 并行流的性能分析 分支/合并框架 使用Spliterator分割流 1.并行流 调用parallelStream方法来把集合转换为并行流。并行流就是一个把内容分成多…

pytorch应用(入门2) 一维线性回归

目录nn.Module(模组)torch.optim (优化)模型的保存和加载一维线性回归代码如下:均方差损失函数nn.MSELoss()model.parameters()的理解与使用torch.autograd.Variableoptimizer.zero_grad()model.eval的作用深度学习方法——pytorch下GPU与CPU…

如何设计一个好的工业产品?

许多人不知道工业设计的本质是什么?与工业设计相比,其本质是解决消费群体的相关问题,实现消费者的需求,使客户更容易选择。但是如何设计一个好的工业产品呢? 1.更加科学合理地摆脱困境 产品设计必须开拓进取。它应该能够引领时代潮流&#…