Actions
Bug #3888
closedWTreeView
Start date:
03/12/2015
Due date:
% Done:
0%
Estimated time:
Description
Added by denis Bertini about 22 hours ago
Hi
I am facing a problem using a WTreeView within a WContainerWidget simply by doing
addWidget ( new WTreeView() );
will then produce an error from the browser :
Uncaught TypeError: Cannot read property 'setRowHeight' of undefined
By using the setRowHeight() or embedding the WTreeView inside a WPanel won 't help !
What is then wrong here ?
THanks a lot for hints.
Updated by Koen Deforche over 9 years ago
- Status changed from New to InProgress
- Assignee set to Benoit Daccache
Perhaps a treeview without model doesn't work correctly?
Updated by Benoit Daccache over 9 years ago
Hey,
I'm not able to reproduce the problem with the following code
<code class="cpp">
class TestCase : public WApplication
{
public:
TestCase(const WEnvironment& env);
private:
};
TestCase::TestCase(const WEnvironment& env)
: WApplication(env)
{
WContainerWidget *container = new WContainerWidget();
container->addWidget(new WTreeView());
root()->addWidget(container);
}
</code>
Tested on chrome 41 and Firefox 32
On which browser did the problem occurs ?
Could you provide an example that fails?
Benoit
Updated by Benoit Daccache over 9 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed
Actions