Skip to content

Commit

Permalink
fix(abc:st): fix always fixed column in group header (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Mar 7, 2021
1 parent b480649 commit 4509b17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/abc/st/st-column-source.ts
Expand Up @@ -408,6 +408,8 @@ export class STColumnSource {
if (typeof item.width === 'number') {
item.width = `${item.width}px`;
}
item._left = false;
item._right = false;

// sorter
item._sort = this.sortCoerce(item);
Expand Down
4 changes: 2 additions & 2 deletions packages/abc/st/st.types.ts
Expand Up @@ -17,8 +17,8 @@ export interface _STColumn extends STColumn {
*/
_className?: string | string[] | Set<string> | { [klass: string]: any } | null;
_sort: STSortMap;
_left?: string;
_right?: string;
_left?: string | boolean;
_right?: string | boolean;
__point?: number;
__renderTitle?: TemplateRef<any>;
__render?: TemplateRef<any>;
Expand Down

0 comments on commit 4509b17

Please sign in to comment.