Categories | Question details Back To List | ||
Support for realizing a non-featured requirement We're planning to realise component for a staff planning app. The treegrid looks already like what we're planning to realize. But one missing feature drives three questions we want to raise here. But first of all a little summary of what we are planning: We would like to describe a matrix that show days of a month spanning the horizontal axis and all persons vertically. - If you like to plan a different non-continous days simultaniously it is necesarry to multiple select the days in one row by pressing CTRL or shift for selecting the beginning and the end of a period of time. - If you right click on a cell, a context menu should appear, related to a single cell and not the whole row. 1. How difficult would it be to realize that? 2. Does the JavaScript API offer all necessary functions for doing that? 3. Do we need to change anything on the original sources for realizing our requirement and is it possible with the enterprise kind of licence? Kind regards and thanks in advance, W. Schwittek Answer posted by Support on Feb 18, 2008 09:09 >> If you right click on a cell, a context menu should appear, related to a single cell and not the whole row. Actually can be achieved with current version of component ( you can use onBeforeContextMenu event to update menu on the fly for specific cell ) >>1. How difficult would it be to realize that? If functionality limited to - marking|unmarking cells by direct|ctrl|shift click - getting|setting list of such marked cells this is pretty simple update, but in case if you want to use all other related to selections API of grid - it will require a lot of work. >>2. Does the JavaScript API offer all necessary functions for doing that? there is no way to attach custom code and get single-click event object ( but it requires just one row addition ) grid has api for visual marking cells in any custom way >>3. Do we need to change anything on the original sources for realizing our requirement and is it possible with the enterprise kind of licence? please contact sales@dhtmlx.com for more details. |