Change the CSS of a jqGrid Row Being Dragged

前端 未结 2 1392
庸人自扰
庸人自扰 2020-12-12 00:32

I\'m using jqGrid\'s Drag and Drop functionality and I would like to know how I can alter the CSS of the row that is being dragged around.

I\'m thinking I can add a

2条回答
  •  鱼传尺愫
    2020-12-12 01:15

    Well you can add class to your div or row like this:

    Here's the Fiddle

    $(document).ready(function(){
    
    $('div').click(function(){
    $(this).addClass('red');
    
    });
    
    });
    

提交回复
热议问题