Hi I’m trying to place some html code like the following, but cannot stretch out a table inside the setText method. Is there anyway around this? The reason I want this is to put text on the left of the header, and an image on the right. I’ve tried using style=“width:100%” inside a div, and that doesn’t work either.
Thanks Alex, that worked great. I can now stretch my table 100% and place my small refresh gif to the right of the header. However, this leads to a new problem. The right of the header seems to work as a collapse button, even though I don’t see anything there. So when I try to click on my refresh gif, the collapse button takes precedence. I’ve tried dhxLayout.setEffect(“collapse”, false), but this seems to be ignored.
Didn’t seem to work. When I hover over the gif, it still shows the ‘collapse’ text and actually collapses the cell. Here is the exact onclick event code I’m using:
Well, it seems like it took away the functionality of the collapse and the hover text, but now my onclick event doesn’t work. It seems to be ignored now.
Sorry, this has been such a problem. Any other suggestions.