Description

지정된 dataRow부터 지정된 개수만큼 newRow로 지정된 dataRow앞으로 이동한다.

Syntax

function moveRows(row, count, newRow)

Parameters

row
Type: number
이동시키려는 첫 dataRow를 지정한다.

count
Type: number
이동시킬 dataRow부터 몇개의 행을 이동시킬것인지 지정한다.

newRow
Type: number
이동될 dataRow를 지정한다.

Return value

None.

Examples

$("#button1").click(function(){
    dataProvider.moveRows(1,3,0); //2행부터 3개의 행을 1행으로 이동
}) 

버튼을 누르면 2행부터 3개의 행을 1행 앞으로 이동한다.