jsl-ui 9.3.2 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,7 @@ export interface IFormFieldOptions {
10
10
  dateOptions?: IDatePickerOptions;
11
11
  numberOptions?: INumberInputOptions;
12
12
  autoSuggestOptions?: IAutoSuggestOptions;
13
+ value?: string;
13
14
  maxLength?: number;
14
15
  class?: string;
15
16
  required?: boolean;
@@ -30,6 +30,7 @@ var FormFieldComponent = /** @class */ (function () {
30
30
  attr: {
31
31
  id: this.id,
32
32
  type: this.type,
33
+ value: this.options.value,
33
34
  maxLength: this.options.maxLength,
34
35
  class: "form-field__input",
35
36
  blur: this.setInActive,
@@ -244,5 +244,6 @@ export interface ISlickGrid<T> {
244
244
  commitCurrentEdit: () => boolean;
245
245
  cancelCurrentEdit: () => boolean;
246
246
  };
247
+ "resetActiveCell": () => void;
247
248
  }
248
249
  export declare function SlickGrid(container: HTMLDivElement | string, data: any, columns: ISlickColumn[], options: ISlickGridOptions): void;
@@ -2866,7 +2866,7 @@ export function SlickGrid(container, data, columns, options) {
2866
2866
  }
2867
2867
  }
2868
2868
  // do not render cells outside of the viewport.
2869
- if (columnPosRight[Math.min(ii - 1, i + colspan - 1)] > range.leftPx) {
2869
+ if (columnPosRight[Math.min(ii - 1, i + colspan - 1)] > range.leftPx || m.alwaysRenderColumn) {
2870
2870
  if (!m.alwaysRenderColumn && columnPosLeft[i] > range.rightPx) {
2871
2871
  // all columns to the right are outside the range.
2872
2872
  break;
@@ -2878,9 +2878,9 @@ export function SlickGrid(container, data, columns, options) {
2878
2878
  html.L += appendCellHtml(row, i, colspan, d);
2879
2879
  }
2880
2880
  }
2881
- else if (m.alwaysRenderColumn || (hasFrozenColumns() && i <= options.frozenColumn)) {
2882
- html.L += appendCellHtml(row, i, colspan, d);
2883
- }
2881
+ // else if (m.alwaysRenderColumn || (hasFrozenColumns() && i <= options.frozenColumn)) {
2882
+ // html.L += appendCellHtml(row, i, colspan, d);
2883
+ // }
2884
2884
  if (colspan > 1) {
2885
2885
  i += (colspan - 1);
2886
2886
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsl-ui",
3
- "version": "9.3.2",
3
+ "version": "9.4.0",
4
4
  "description": "javascript UI library",
5
5
  "main": "lib/index.js",
6
6
  "files": [