Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1176] Grid > 컬럼 sort 시 값이 null 일 때 처리 #1178

Merged
merged 1 commit into from
May 24, 2022
Merged

Conversation

kimyell
Copy link
Collaborator

@kimyell kimyell commented May 23, 2022

####################

  • number, stringNumber 타입인 경우 null || undefined 인 경우 가장 하단으로 정렬
  • string 인 경우 null || undefined 인 경우 '' 빈 스트링으로 치환

ex)

  • stringNumber
    base: [null, null, '25080', '4004', '4004', '4004', '0', '25080', '25080', '25080', null, null, '4004', '4004']
    asc: ['0', '4004', '4004', '4004', '4004', '4004', '25080', '25080', '25080', '25080', null, null, null, null]
    desc: ['25080', '25080', '25080', '25080', '4004', '4004', '4004', '4004', '4004', '0', null, null, null, null]

  • number
    base: [undefined, 0, 28000, 27000, 26000, null, 24000, 0, -2000, -10, 20000, 11000, 10000, 9000]
    asc: [-2000, -10, 0, 0, 9000, 10000, 11000, 20000, 24000, 26000, 27000, 28000, undefined, null]
    desc: [28000, 27000, 26000, 24000, 20000, 11000, 10000, 9000, 0, 0, -10, -2000, undefined, null]

  • string
    base: ['HIDB_DATA_1', '', 'HIDB_LARGE_1', '', 'HIDB_INDEX_2', '', 'HIDB_L_INDEX_1', 'HIDB_L_INDEX_2', 'HIDB_L_INDEX_3', 'HIDB_DATA_3', 'HIDB_DATA_4', 'SYSAUX', 'USERS', 'UNDOTBS1']
    asc: ['', '', '', 'HIDB_DATA_1', 'HIDB_DATA_3', 'HIDB_DATA_4', 'HIDB_INDEX_2', 'HIDB_L_INDEX_1', 'HIDB_L_INDEX_2', 'HIDB_L_INDEX_3', 'HIDB_LARGE_1', 'SYSAUX', 'UNDOTBS1', 'USERS']
    desc: ['USERS', 'UNDOTBS1', 'SYSAUX', 'HIDB_LARGE_1', 'HIDB_L_INDEX_3', 'HIDB_L_INDEX_2', 'HIDB_L_INDEX_1', 'HIDB_INDEX_2', 'HIDB_DATA_4', 'HIDB_DATA_3', 'HIDB_DATA_1', '', '', '']

####################
- number, stringNumber 타입인 경우 null || undefined 인 경우 가장 하단으로 정렬
- string 인 경우 null || undefined 인 경우 '' 빈스트링으로 치환
@kimyell kimyell changed the title [#1176] Grid, TreeGrid > 컬럼 sort 시 값이 null 일 때 처리 WIP: [#1176] Grid, TreeGrid > 컬럼 sort 시 값이 null 일 때 처리 May 23, 2022
@kimyell kimyell changed the title WIP: [#1176] Grid, TreeGrid > 컬럼 sort 시 값이 null 일 때 처리 WIP: [#1176] Grid > 컬럼 sort 시 값이 null 일 때 처리 May 23, 2022
@kimyell kimyell changed the title WIP: [#1176] Grid > 컬럼 sort 시 값이 null 일 때 처리 [#1176] Grid > 컬럼 sort 시 값이 null 일 때 처리 May 23, 2022
@kdeun1 kdeun1 merged commit 38172c4 into 3.0 May 24, 2022
@kdeun1 kdeun1 deleted the 1176_sort branch May 24, 2022 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants