On the last working day before Chinese New Year, summarize the form components that have been maintained for 6 years. Looking back, time flies. 2191 days have passed since V0.0.1.

Recent photos of table components

It’s been tepid on Github, but the iteration has been ongoing.

The first edition in 2020

At 7:19:10 PM on 2020/1/12, the first version of 2020, 2.10.5, was released. In this version, the current page printing function was added, and some of the logic was fixed and optimized.

The last edition in 2020

At 9:07:17 am on 2020/12/9, the last version of 2020, 2.14.17, was released. There are no new features in this release, just the simple handling of the warning messages.

Major updates for 2020

There are 46 updates in 2020, and some of them are worth mentioning.

Print function

Enable the printing function by configuring the supportPrint parameter. After this function is enabled, a print entry is added in the shortcut menu. You can also invoke the print(gridManagerName) method immediately.

Column fixation function

Fixed Specifies a fixed column by configuring the columndata. fixed parameter. This function still takes effect when the column or row is moved.

Header nesting function

The columndata.children parameter is configured to specify that a column uses nested table headers, which can increase data structures indefinitely. Note that some DOM operations will be invalidated with header nesting.

A few non-functional items worth mentioning in 2020

  • The core DOM driver has been adjusted to be data-driven, simplifying the code logic
  • Deal with the DOM lag problem when large data volume
  • mergedjToolClears library methods that are not used in the table component
  • Solve the special problems encountered when using the framework, such as the multiple rendering problem caused by the non-standard use of the framework
  • Modified the browser supported by the build tochrome >=56 || firefox >=59And hugclass
  • Unit testing tools are made up ofPhantomJSAdjusted forChromeHeadlessFor a long timenpm iThe slow problem
  • Singleton support for some browser functions, such assafariWidth adjustment exists1pxSent a problem
  • cssusevar()Features, and simplifies part of the style file
  • Use higher version browsersResizeObserveralternativeresetThe event
  • Using native supportElement.closest()Replace the recursive search method, improve performance by 7-8 times

Write in the last

Form componentsGridManagersupportAngular.1x,React,Vue,jQueryandnativeMode, the core code base is entrusted to the tubegithub.