All Answers

0 votes

That did it!  Many thanks.

0 votes
In reply to: TreeView EnsureVisible

Hi Tim,

I could not reproduce that problem. Can you please share some code snippets ?

Thanks in advance !

UPDATE: Could reproduce it. Logged as #1723

Best regards
Frank

  • Frank (ITG) answered Dec 20, 2018 - 9:25 pm
  • last active Dec 20, 2018 - 9:29 pm
0 votes

Hi Marcelo,

you can download the templates for Wisej 1.5 here:

http://wisej.s3.amazonaws.com/downloads/Templates/1_5/CSharpTemplates.zip
http://wisej.s3.amazonaws.com/downloads/Templates/1_5/VBNetTemplates.zip

Please put them into C:\users\<youruser>\documents\<your VisualStudio>\templates\ProjectTemplates | ItemTemplates \Visual Basic | Visual C#\Wisej

If they don´t show in Visual Studio please try running devenv /installvstemplates from an elevated VS command prompt.

Best regards
Frank

0 votes

Frank,

It seens it´s about VS issue … how can I restore the projects templates to WiseJ (version 1) …

 

Regards

 

0 votes

Hi Frank

I was using WJ version 1.5.36.    I also have version 2.0.3.0 in the same machine

Update to version 1.5.42.

After the update, when I try to create a new project with WiseJ 1.5.42 (WiseJ), the templates of new projects disapper from the list of avaiable templates…

The message is that didn´t find any template that is compatible with version 4.6.1 …

No I´m verifing that the Framework version don´t have anything with the problem …

0 votes

Hi Marcelo,

it´s not exactly clear to me yet:

Can you please clarify wether your VS 2018 only allows the selection of 4.6 and above and the templates don´t show ?
What Wisej version have you been using before ? Was it working with that VS version ?

Thanks in advance.

Best regards
Frank

0 votes

Frank, thank you very much, with build 1.5.42 it is working again.

0 votes

Hi Neil,

you might want to experiment with

HeaderStyle.Alignment

and/or adding

translateX(-??px)

to the HTML.

Hope that helps.

Best regards
Frank

0 votes

Thanks Frank,

Looking forward to trying this out over the next couple of days.

Excellent service from the WiseJ team once again.

Nic

0 votes

Many thanks Frank, that works well!

Using:
dataGridView1.ColumnHeadersHeight = 300;
dataGridView1.Columns.Add(new DataGridViewColumn { AllowHtml = true, Width = 30, HeaderText = $”<div style=’transform:rotateZ(-90deg)’>{action.Description}</div>” });

Produces the attached.  I’m just a little stuck as to why the text is offset so high and therefore clipping?

Cheers,

Neil

0 votes

Hi Neil,

one approach could be to use the html of the column title directly:

col_vertical

Column HeaderText = <div style=”transform:rotateZ(-90deg)”>Column0</div>

Please make sure to set AllowHtml = True.
It´s probably better to make those columns not resizable or let them shrink below a certain size.
In that case the Visibility menu won´t be available for that column too.

If you can live with these restrictions, it´s a quite easy way to achieve vertical columns.

Hope that helps.

Best regards
Frank

0 votes

Hi Tim, Hi Nic

we have put together a sample that illustrates the usage and benefits of LazyLoading and VirtualScrolling:

http://wisej.s3.amazonaws.com/support/attachments/Wisej.TreeViewLargeDataSet.zip

It requires the latest development build (1.5.42).

Please let me quickly explain what to use when and how:

  • node.LazyLoading = true means that Wisej will send its child nodes to the client only when that node is expanded.
  • node.IsParent = true makes the tree node look like it can expand (even if it has 0 child nodes).
    This allows your app to populate the child nodes on demand in OnBefore- or OnAfterExpand.
  • So the combination of node.IsParent and node.LazyLoading allows your app to show the loader icon when expanding
    and at the same time populate the child nodes on demand.

These 2 features can be used regardless of VirtualScrolling.

However if you have too many nodes, at one point, the browser itself may become sluggish.

That´s where VirtualScrolling = true comes in quite handy. It lets Wisej client side only create the elements
for the visible portion of the TreeView.

Only VisualScrolling = true makes the client faster by creating only few elements. But if the server has
to send to the client e.g. 20.000 nodes it will still take some time to transfer and parse the data.

So finally a combination of VirtualScrolling, LazyLoading and IsParent with empty nodes can solve
virtually any issue with the performance of large TreeViews.

Hope that helps.

Best regards
Frank

  • Frank (ITG) answered Dec 19, 2018 - 11:25 pm
  • last active Dec 19, 2018 - 11:25 pm
0 votes

Hi Rupert,

this problem was logged as #1711 and is fixed in the latest development build (1.5.42).

Best regards
Frank

  • Frank (ITG) answered Dec 19, 2018 - 10:41 pm
  • last active Dec 19, 2018 - 11:16 pm
1 vote

Hi Simone,

#1715 is fixed in our latest development build (1.5.42).

Best regards
Frank

  • Frank (ITG) answered Dec 19, 2018 - 10:40 pm
  • last active Dec 19, 2018 - 11:15 pm
1 vote

Hi Arturo,

this problem was logged as #1716 and is now fixed in the new development build (1.5.42).

Best regards
Frank

  • Frank (ITG) answered Dec 19, 2018 - 10:39 pm
  • last active Dec 19, 2018 - 11:15 pm
0 votes

Code is here: https://github.com/iceteagroup/wisej-extensions/blob/master/HostService/Wisej.Application.IE/Browser.cs

It sets WebBrowser to run at the highest version installed on the machine.

In short, you need to add the exe name to the registry before IE is loaded and set the emulation version.

More info: https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330730(v=vs.85)

  • Luca answered Dec 13, 2018 - 1:56 pm
  • last active Dec 19, 2018 - 1:02 am
0 votes

Hi Tim, Hi Nic,

the problems with the VirtualScrolling have been fixed and the new build is in the final testing
and most likely be released tomorrow.

We will also publish a sample that shows the usage and benefit of LazyLoad and VirtualScrolling
and a few more explanations for it.

But since it requires the latest build, I will publish it right after the new release.

Thanks for your patience.

Best regards
Frank

0 votes

Sorry I can’t make it work with dynamic HTML, with or without Wisej. Angular is designed to work with static HTML, the solutions that I saw online to make it work with dynamic HTML are even more irritating to me than Angular itself, which, IMHO is the product of someone with some kind of serious condition that probably never had to maintain any code more serious than a student registration system. Just my opinion 🙂

  • Luca answered Dec 18, 2018 - 8:19 pm
0 votes

I am also looking forward to the new release and sample.  I had taken a look issue I was having and it was still running slow with lots of nodes on the latest version.  Hoping this takes care of my issues!

 

Thanks! Tim

0 votes

Hi Frank,

thanks for your complete answer!

Showing 6461 - 6480 of 11k results