¡á Grid.CanColumnPosChange

SECTION

 

Event

SINCE

 

1.0.7.2

DESCRIPTION

 

Grid»ó¿¡¼­ Data¸¦ ¼öÁ¤ÇÏ°í ColumnÀ» ¹þ¾î³ª·Á°íÇÒ ¶§, ¹þ¾î³¯ ¼ö ÀÖ´ÂÁö ¿©ºÎ¸¦ ÁöÁ¤ÇÑ´Ù.

¸®ÅÏ°ªÀ» ¡®True¡¯·Î Çϸé ColumnÀ§Ä¡¸¦ ¿Å±æ¼ö ÀÖÀ¸¸ç, ¸¸¾à ÀÔ·ÂÇÑ °ªÀÌ Á¶°Ç¿¡ ¸ÂÁö ¾Ê´Â °æ¿ì ¸®ÅÏ°ªÀ» ¡®False¡¯·Î ÇÏ¿© ColumnÀ§Ä¡¸¦ ¿Å±æ ¼ö ¾øµµ·Ï ó¸®ÇÒ ¼ö ÀÖ´Ù.

SYNTAX

 

<script language=JavaScript for=GridID event=CanColumnPosChange(row,colid)>

</script>

POSSIBLE VALUES

 

ÇØ´ç¾øÀ½

PARAMETERS

 

LONG row : Grid»ó¿¡¼­ Event°¡ ¹ß»ýÇÏ¿© º¯°æµÇ±â ÀüÀÇ Row

BSTR colid : Grid»ó¿¡¼­ Event°¡ ¹ß»ýÇÏ¿© º¯°æµÇ±â ÀüÀÇ Column ID

RETURN VALUES

 

BOOL bValue : ColumnÀ§Ä¡º¯°æ ( True : °¡´É / False : ºÒ°¡´É)

EXAMPLE

 

[JavaScript]

<script language="javascript"  for=GridID event=CanColumnPosChange(Row,Colid)>

     If (DataSetID.NameValue(row, Colid) == ¡°¡±) {

      alert("Occur CanColumnPosChange Event :" + "<ROW :" + Row +">"+ "<Colid :" + Colid + ">" )

 return false;

} else {

 return true;

}

  </script>

SAMPLE

 

./sample/CanColumnPosChange_s1.html

SEE ALSO

 

OnColumnPosChanged