First of all, thanks for the new version of your great product.
So far, I found a few of issues in grid. Not sure if they are new or were borrowed from previous versions.
- Block selection (enabled by enableBlockSelection(true)) does not work on frozen column area. I understand that it might be technically challenging, but still should at least mentioned in the docs
- Context menu (grid.enableContextMenu(menu)) is not launched on selected block.
- I have spanned (or merged) column header. Initially grid appears with somewhat trimmed headers, showing only first row of header. Layout resize or browser resize fixes this, so full header appears after automatic header height increase, even though header’s height is too excessive (could be smaller to fit its content).
Please let me know if sample project is required. I have a prototype app, but I will need some time to remove unnecessary staff and make simple prototype, just to demonstrate the problems.
Thanks in advance,
Thanks for the prompt and professional reply!
Items 1 and 2 - understood, no problem. Everything has its own limits.
Item 3 - setSizes worked liked a charm. (And I did have header initialized before grid.init() call). At last, may I suggest to add setSizes to one of your samples and possibly mention in doc? Thanks again. You are very helpful.
Some kind of example of the setSizes() usage you can find here:
dhtmlx.com/docs/products/dhtmlxG … ntent.html
Where, similar to your situation the header was added, but not displaying, as it was added after the grid’s init/loading
mygrid.loadXML("../common/grid.xml", function(){
mygrid.attachHeader("#rspan,<div id='title_flt' style='padding-right:3px'></div>,<div id='author_flt' style='padding-right:3px'></div>,#rspan,#rspan,#rspan,#rspan,#rspan");
//...
mygrid.setSizes();
});
Here is the documentaion page with the setSizes() method:
docs.dhtmlx.com/api__dhtmlxgrid_setsizes.html
update (If it can help you):
- Context menu (grid.enableContextMenu(menu)) is not launched on selected block.
You may use the onBlockRightClick event to control the right-button click on the block:
docs.dhtmlx.com/api__dhtmlxgrid_ … event.html