Context menu for specific column

Can i get the sample code of Context menu for specific column ???





Thanks

Praveen

You can check the full code of sample in you package of dhtmlxGrid
sampels/context_menu/pro_context_column.html

The key points are

mygrid.attachEvent(“onBeforeContextMenu”,my_pre_func);
and
function my_pre_func(rowId,celInd,grid){
if (celInd==1) return false;
return true;
}

my_pre_func called each time before context menu opening, and based on its result context menu will be shown or hidden.