Project

General

Profile

Actions

Bug #3888

closed
DB BD

WTreeView

Bug #3888: WTreeView

Added by denis Bertini over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
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.

KD Updated by Koen Deforche over 11 years ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache

Perhaps a treeview without model doesn't work correctly?

BD Updated by Benoit Daccache over 11 years ago Actions #2

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

BD Updated by Benoit Daccache over 11 years ago Actions #3

  • Status changed from InProgress to Resolved

KD Updated by Koen Deforche almost 11 years ago Actions #4

  • Status changed from Resolved to Closed

KD Updated by Koen Deforche almost 11 years ago Actions #5

  • Target version set to 3.3.5
Actions

Also available in: PDF Atom