¡á Grid.OnCommand

SECTION

 

Event

SINCE

 

1.0.11.7

DESCRIPTION

 

Grid¿¡¼­ Æ˾÷ ¸Þ´º°¡ ¶á ÈÄ Menu ItemÀÌ ¼±ÅõǾúÀ» ¶§ ¹ß»ýÇÑ´Ù.

Grid¿¡¼­ Æ˾÷ ¸Þ´º°¡ ¶á ÈÄ ¸Þ´º¾ÆÀÌÅÛÀÌ ¼±ÅÃÇßÀ» ¶§ ¼±ÅÃµÈ ¾ÆÀÌÅÛÀÇ Code °ª°ú Text °ªÀ» È®ÀÎ ÇÒ ¼ö ÀÖ´Ù.

SYNTAX

 

<script language=JavaScript for=GridID event=OnCommand(code, text)>

</script>

POSSIBLE VALUES

 

ÇØ´ç¾øÀ½

PARAMETERS

 

BSTR code : Æ˾÷ ¸Þ´º Item Code °ª

BSTR text : Æ˾÷ ¸Þ´º Item Text °ª

RETURN VALUES

 

ÇØ´ç¾øÀ½

EXAMPLE

 

 [JavaScript]

<SCRIPT language=javascript for=GridID event=OnCommand(code, text)>

    alert("GridÀÇ OnCommand Event ¡¦ \n\n"

+ " Code = ["+ code +"] "

+ ", Text = ["+ text +"]");

</SCRIPT>

SAMPLE

 

./sample/OnCommand_s1.html

SEE ALSO

 

MenuData, TrackPopupMenu