All Answers

0 votes
In reply to: More on DataGridView

Hi Luca,

Thanks. I can now select all cell without writing any code with the new default event TopLeftHeaderClick (WJ-7584).

But can’t understand what is WJ- 7585 for and how it works. Tried Ctrl-C in a DGV with all cells selected, opened Excel,  and got nothing after Ctrl-V. Am I doing it right? Is this related to 7566 above?

Thanks.

  • Cris answered Sep 12, 2016 - 3:50 pm
0 votes

Sure, also when you want to “load on demand” you can set the node.IsParent = true. This will make the node look like it has children, then when you expand it you can process the BeforeExpand event to populate the child nodes – in the meantime Wisej will change the node icon to a small ajax loader.

  • Luca answered Sep 12, 2016 - 3:26 pm
0 votes

Hi Luca,

No problem, I had other things to keep me busy in the meanwhile!

Now I’m thinking again about the expand/collapse icons… I only load the first level of my treeview from the database and then I populate each of this top level nodes on click (which does not fire as you confirmed). This means that at first, the nodes have no subnodes until they are clicked and get populated. So, I presume, this is the reason why I cannot see the expand icon. I’ll check again after the click event is fixed.

Thanks,
Alex

  • Alex Prinias answered Sep 12, 2016 - 3:23 pm
0 votes

Hi Alex,

Sorry for the delay. Somehow Frank and I didn’t see the question coming in.

NodeMouseClick and NodeMouseDoubleClick are indeed not firing: WJ-7593

I get BeforeCheck and AfterCheck twice actually: WJ-7594

Tried with Classic-2 and I can see all the icons.

Best,

Luca

  • Luca answered Sep 12, 2016 - 3:11 pm
0 votes

Hi Frank, Luca

Thanks. Column Visibility Menu seems to work perfectly now. Just didn’t have a chance to test if vertical scrollbar is available or shows up when the number of visible columns to be shown in the menu is more than the number of items the menu container can hold or accomodate.

Best.

  • Cris answered Sep 12, 2016 - 12:25 pm
0 votes
In reply to: Mr

Hi

I was wondering whether any further progress has been make with Report Viewer integration?

Thanks for the great work you are doing

Ewan

  • Ewan answered Sep 12, 2016 - 10:42 am
0 votes

Hi Alex,

WJ-7580 has just been added to the latest build (1.2.58)

Best regards
Frank

0 votes
In reply to: Beta Updates

A new build (1.2.58) has just been uploaded with those enhancements and additions:

Item Type Priority Severity Title Resolution
WJ-7586 New Feature Low Trivial Added Form.MdiTabProperties.ShowThumbnails to hide the thumbnail page. Complete
WJ-7587 New Feature Low Trivial Added support for custom cursors Complete
WJ-7584 Enhancement Low Trivial New event TopLeftHeaderClick – default selects all rows Complete
WJ-7585 Enhancement Low Trivial Added built-in processing for CTRL-C and CTRL-INS
on the DGV to copy the content to the clipboard.
Complete
WJ-7583 Enhancement Low Trivial DGV column visibility button should stay open when hiding/showing columns Complete
WJ-7582 Enhancement Low Trivial General improvements in managing DGV automatic new row. Complete
WJ-7580 Enhancement Low Trivial Expose property to hide MDI preview page Complete
0 votes
In reply to: More on DataGridView

Hi Luca,

7564 – In my opinion, it is better to handle it by default. But it’s your call. I just brought to your attention that in Winform, it’s handled by default. In fact, you can just even click on any cell and drag your mouse to select columns and rows.

7566 – Yes, GetClipboardContent() is working but what I was saying is doing it manually. After pressing Ctrl-C (copy) in Winform, you can open Notepad, Excel, SublimeText, etc. and do a Ctrl-V (paste). It would be great if same functionality can be implemented, but if not, so be it.

Thanks.

  • Cris answered Sep 9, 2016 - 5:34 pm
0 votes
In reply to: More on DataGridView

Hi Cris,

Thank you for the list.

For 7563, all the autosizing modes for rows and columns are not implemented yet. Actually they mostly are, but not “hooked”.

7564, the intention was to simply implement SelectAll and let the application manage the top left click. But we can do the opposite and handle the event by default and if an app needs to disable it has to override the handler.

7566, the selected row in wisej will always include the row header as a full row select. The way the data is copied to the clipboard is controlled by the ClipboardCopyMode property. The method to get the clipboard data object is GetClipboardContent(), it sets the data object to CSV, HTML, Unicode and Text.

Best,

Luca

  • Luca answered Sep 9, 2016 - 4:24 pm
  • last active Sep 9, 2016 - 4:25 pm
0 votes

Cloning the dom is very fast, almost instantaneous, since the nodes are already created with their attributes and styles. The rendering process is when the widget library creates or updates the dom elements by translating the widget properties to the equivalent dom representation: class name, attributes, and inline styles. That is heavy because the browser processes the changes as they are applied (if you set the width of a dom element 100 times the browser will updated everything affected 100 times) and then renders the page in frames.

Wisej (thanks to qooxdoo that implemented a fast dom technique early on) caches all changes to the widgets and “flushes” them at once. So if you change the size of a widget 100 times in a response cycle, it gets applied to the actual dom only once.

VWG used a completely different approach, they didn’t have a widget library and created HTML on the client by transforming an enormously complex XSLT document to HTML and then replace the nodes. That is why it was common with VWG to lose the focus if the code changed any visual attribute of a text box, for example, because the client destroyed and recreated the element every time. The result of that technique was that the initial creation was faster than Wisej, but the maintainability/flexibility of the template, handling of the page, and subsequent updates turned into a nightmare.

Ciao,

Luca

 

 

  • Luca answered Sep 9, 2016 - 3:57 pm
  • last active Sep 9, 2016 - 3:58 pm
0 votes

Thanks Frank.

>>The form pictures are actually no real pictures but a disable and scaled cloned dom (due to technical reasons).

cloned dom? This means that if I have very complex/heavily populated with controls forms, these are duplicated to create these “pictures”? What is the effect of this on rendering performance? Now, I’m worried! 🙂

Best,
Alex

 

  • Alex Prinias answered Sep 9, 2016 - 3:41 pm
0 votes

Hi Alex,

the preview page can be hidden but the property is not exposed yet (logged WJ-7580 for that enhancement).

The form pictures are actually no real pictures but a disable and scaled cloned dom (due to technical reasons).

You could build an alternative MDI system where forms can become children of other controls, including a tab page, etc.

Hope that helps.

Best regards
Frank

0 votes

Hi Luca,

Thanks for the info.

  • Cris answered Sep 8, 2016 - 2:04 pm
0 votes
In reply to: More on DataGridView

Hi Frank,

Sorry, I didn’t update my custom theme when testing last night. After re-testing:

  1. 7562 – fixed.
  2. 7563 – as noted above.
  3. 7564 – as noted above.
  4. 7566 – as noted above.
  5. 7567 – fixed.

Thanks.

  • Cris answered Sep 8, 2016 - 11:14 am
  • last active Sep 8, 2016 - 11:34 am
0 votes

Thanks Nic,

logged as WJ-7576.

Best regards
Frank

0 votes
In reply to: More on DataGridView

Hi Frank,

7562 – ShowColumnVisibilityMenu: if set to false and horizontal scrollbar is moved to the right, the column headers and datarows are messed up. Not Fixed.

7563 – RowHeaderWidthSizeMode:

  1. AutoSizeToAllHeaders: Not Fixed
  2. AutoSizeToDisplayedHeaders: Not Fixed
  3. AutoSizeToFirstHeader: Not Fixed
  4. EnableResizing: Fixed
  5. DisableResizing: Fixed

7564 – Clicking on top-left most cell in DGV is not available. It should select all cells for copy and paste. Still have to attach to an event using SelectAll(). Not Fixed.

7566 – SelectAll(). It selects row headers and all data cells but not column headers. In WinForm, only data cells are selected. Partially Fixed (See attached)

7567 – Right align the row editing and new icons, and replace the cursor icon. Not Fixed

Using Build 1.2.57.0.

Thanks

  • Cris answered Sep 8, 2016 - 3:16 am
0 votes

Hi Frank, Luca,

It’s working as stated. But…..

If a user wants to hide/unhide several columns, user has to click the ColumnVisibilityMenu as many times as the number columns he/she wants to hide/unhide. Isn’t it nice if there is just an X button at the upper-right corner of the menu so it can be done in one go?

Sorry, didn’t realize that earlier. I may or may not need that feature but definitely, Wisej needs it.

Just my 2 cents. If I am getting PITA, just call my attention.

Thanks.

  • Cris answered Sep 8, 2016 - 12:48 am
  • last active Sep 8, 2016 - 12:59 am
0 votes

Hi all,

this was logged as WJ-7572 and added to the latest build (1.2.57).

Thanks !

Best regards
Frank

0 votes
In reply to: More on DataGridView

Hi Cris,

WJ-7562, WJ-7563, WJ-7566 and WJ-7567 are all fixed/added in the latest build (1.2.57).

Thanks !

Best regards
Frank

Showing 10601 - 10620 of 11k results