|
@@ -649,8 +649,14 @@ let listObj = {
|
649
|
649
|
const self=this;
|
650
|
650
|
if(self.sortUse) return;
|
651
|
651
|
self.sortUse=true;
|
652
|
|
- $(STINFO06010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
653
|
|
- $(STINFO06010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(3).css('cursor','pointer');
|
|
652
|
+ self['sort3']='asc';
|
|
653
|
+ const th=$(STINFO06010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(3);
|
|
654
|
+ th.find('.s-ico').show();
|
|
655
|
+ th.find('.ui-grid-ico-sort').hide();
|
|
656
|
+ th.find('.glyphicon-triangle-bottom').show();//asc 는 bottom 으로 desc 는 top
|
|
657
|
+
|
|
658
|
+ //$(STINFO06010_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
|
659
|
+ $(STINFO06010_GRID_LIST).find('th').eq(3).css({cursor:'pointer',background:'#FFEBCD'});
|
654
|
660
|
$(STINFO06010_GRID_LIST).find('.ui-jqgrid-labels>th').on('click', function() {
|
655
|
661
|
const idx=$(this).index();
|
656
|
662
|
console.log("xxxx grid header click xxxxxxx index=="+idx, param );
|
|
@@ -945,11 +951,17 @@ let createObj = {
|
945
|
951
|
viewHtml += '<span class="shrv_num shrv_tot">(<em>' + rowCnt + '</em>)</span>';
|
946
|
952
|
viewHtml += '</span>';
|
947
|
953
|
$('#ITP_STINFO06010_DETAIL_jqGridView').html(viewHtml).show();
|
|
954
|
+
|
948
|
955
|
const self=this;
|
949
|
956
|
if(self.sortUse) return;
|
950
|
957
|
self.sortUse=true;
|
951
|
|
- $(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
952
|
|
- $(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(7).css('cursor','pointer');
|
|
958
|
+ self['sort7']='asc';
|
|
959
|
+ const th=$(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').eq(7);
|
|
960
|
+ th.find('.s-ico').show();
|
|
961
|
+ th.find('.ui-grid-ico-sort').hide();
|
|
962
|
+ th.find('.glyphicon-triangle-bottom').show();//asc 는 bottom 으로 desc 는 top
|
|
963
|
+ //$(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels .ui-th-div').css('cursor','default');
|
|
964
|
+ $(STINFO06010_DETAIL_GRID_LIST).find('th').eq(7).css({cursor:'pointer',background:'#FFEBCD'});
|
953
|
965
|
$(STINFO06010_DETAIL_GRID_LIST).find('.ui-jqgrid-labels>th').on('click', function() {
|
954
|
966
|
const idx=$(this).index();
|
955
|
967
|
console.log("xxxx grid header click xxxxxxx index=="+idx, param );
|