Project

General

Profile

Actions

Bug #3888

closed

WTreeView

Added by denis Bertini about 9 years ago. Updated over 8 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.

Actions #1

Updated by Koen Deforche about 9 years ago

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

Perhaps a treeview without model doesn't work correctly?

Actions #2

Updated by Benoit Daccache about 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

Actions #3

Updated by Benoit Daccache almost 9 years ago

  • Status changed from InProgress to Resolved
Actions #4

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Koen Deforche over 8 years ago

  • Target version set to 3.3.5
Actions

Also available in: Atom PDF