Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael on Jun 22, 2009 08:14
open dhtmlx forum
Subgrid Context Menu

Hello,

I have a context menu attached to a grid. But I can only right click on the grid when there are actually rows in the grid. My context menu has 3 menu options....Add new row, delete row, save.

If there are no rows in the grid, how can I get to my context menu?
Answer posted by dhxSupport on Jun 22, 2009 09:09
If sub grid hasn't row you can attach "onHeaderClick" event to show context menu. There is not other container which could be catch right click event and show context menu.