|
@@ -982,10 +982,15 @@ let listObj = {
|
982
|
982
|
const self=this;
|
983
|
983
|
if(self.sortUse) return;
|
984
|
984
|
self.sortUse=true;
|
985
|
|
- $(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
986
|
|
- $(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(3).css('cursor','pointer');
|
987
|
|
- $(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(6).css('cursor','pointer');
|
988
|
|
- $(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(15).css('cursor','pointer');
|
|
985
|
+ self['sort3']='desc';
|
|
986
|
+ const th=$(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(3);
|
|
987
|
+ th.find('.s-ico').show();
|
|
988
|
+ th.find('.ui-grid-ico-sort').hide();
|
|
989
|
+ th.find('.glyphicon-triangle-top').show();//asc 는 bottom 으로 desc 는 top
|
|
990
|
+ //$(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
|
991
|
+ $(POMNG03010_GRID_LIST).find('th').eq(3).css({cursor:'pointer',background:'#FFEBCD'});
|
|
992
|
+ $(POMNG03010_GRID_LIST).find('th').eq(6).css({cursor:'pointer',background:'#FFEBCD'});
|
|
993
|
+ $(POMNG03010_GRID_LIST).find('th').eq(15).css({cursor:'pointer',background:'#FFEBCD'});
|
989
|
994
|
$(POMNG03010_GRID_LIST).find('.ui-jqgrid-labels>th').on('click', function() {
|
990
|
995
|
const idx=$(this).index();
|
991
|
996
|
console.log("xxxx grid header click xxxxxxx index=="+idx, param );
|