All Answers

0 votes
In reply to: Beta Updates

We have released a new build (1.2.77) that contains the following fixes:

Item Type Priority Severity Title Resolution
WJ-7687 Bug High Major Adding a row to BindingSource instance bound to a DGV
doesn’t update the the DGV.
Complete
WJ-7686 Bug Low Trivial Pressing down in an empty DateTimePicker raises an exception. Complete
WJ-7683 Regression High Show Stopper DGV custom cell editors generate an InvalidCastException. Complete
WJ-7684 Bug High Major Deleting, inserting, deleting rows in the same request results
in the wrong update sequence on the client.
Complete
WJ-7685 Bug Low Trivial Pressing Left in the dropdown when eding an empty DateTimePicker cell,
closes the calendar.
Complete
0 votes

Thank you. This is fixed in the latest update (not announced yet). It is regression WJ-7683.

Best,

Luca

  • Luca answered Oct 10, 2016 - 10:57 pm
0 votes

Hi Frank.

Thanks. Works as expected!

 

Robin.

  • Robin answered Oct 9, 2016 - 6:59 pm
0 votes

Hi Alex,

On the 1 column scenario, I use the ListView as it is out of the box. I never took the trouble to investigate whether a 1 column DGV, hiding row headers and with some more tweaking (hide grid lines, smaller line height, etc) could be as easy to read as the ListView. It’s a question of “Why bother if ListView gives me exactly what I need?”

I understand a lot of people doesn’t use ListView at all and prefer to use DGV in all scenarios. One of the reasons is native ListView doesn’t support DataBinding. As I said earlier in this thread, I use a ListView version that supports Data Binding (btw VWG ListView also supports DataBinding). So I don’t face this problem. On the other hand, some people prefer to use DGV only when they must, arguing it’s slower than ListView. This might have been an issue when .NET 2.0 was released. Computer performance increased a lot in the last 10 years so I don’t believe this is an issue nowadays, except if you are loading thousands of rows.

  • Tiago Freitas Leal answered Oct 8, 2016 - 10:26 pm
  • last active Oct 8, 2016 - 10:38 pm
0 votes

Dear Tiago,

Thank you so much for taking the time to reply in such detail and for the useful links and your project. I’ll have to study it and I’ll get back to you.

For the moment, I understand that the most obvious (and fair) comparison of DataGridView with ListView is when ListView is is Detail mode.  So, in case 3, where you say that you’d use a 1-column ListView in Detail mode, why do you find the ListView provides superb readability compared to DataGridView? What is making the DGV less readable to you?

Thanks again,

Alex

  • Alex Prinias answered Oct 8, 2016 - 9:36 pm
0 votes

That’s a tricky question…

First of all, lets put aside hierarchical data. Next, let’s presume both controls are data binding capable.

Now consider the need for a detail panel. If I have a master list, do I need a detail panel to show or edit my items?

DGV is kinda replacement for Excel.
I would prefer DataGridView to

1) Show tabular data (data organized in columns)

  • you should use tabular data when objects have a lot of properties or
  • you want to sort data using one or more columns or
  • you want to filter data by one or more columns.

2) In place editing of objects with more than one property.

Provided all object properties fit comfortably on the available screen space (when your user doesn’t have to use the horizontal scroll bar), inline editing avoids the use of an editing panel.
Note – If you use a DGV as a master list, I presume you are showing more than a few properties and the DGV will be widish. In that case, most of the times the best location for the detail panel is below the DGV. This means te DGV can’t be very tall, and your users will have to use the scroll bar. If the DGV isn’t that wide, you can use a full height DGV on the left side, and put the detail panel on the right side of the DGV. This is an interesting design that opens a number of possibilities, depending on the specifics of your object. But that’s a bit besides the point.

ListView is file system manager-style interface with four view modes: LargeIcon, SmallIcon, List, and Detail.
I would definitely prefer ListView when

3) I need and editing panel anyway and the master list displays just 1 column (a few properties that can be put in a single string).

Note – For this scenario (say a list of user names), I would use the ListView in Detail mode. It has a very clean presentation (you can even hide grid lines) and provides superb readability. I presume I could use a full height ListView on the left end, with the editing panel on the right, possibly with… again, there are a lot of possibilities. And that’s besides the point.

4) I need the ability to show the list using icon view modes or list mode.

 

For hierarquical data, use tree like controls; ask google about

  • ObjectListView Phillip Piper
  • TreeViewAdv

or browse these projects
http://www.codeproject.com/Articles/23746/TreeView-with-Columns
http://www.codeproject.com/Articles/3273/ContainerListView-and-TreeListView-Writing-VS-NET
http://www.codeproject.com/Articles/3225/TreeListView

I attach a sample WindowForms ListView project that illustrates all view modes. I hope I can convert it to Wisej soon enough 🙂

  • Tiago Freitas Leal answered Oct 8, 2016 - 5:56 pm
  • last active Oct 8, 2016 - 6:16 pm
0 votes

Hi Luca,

I am trying your sample above (Wisej.CustomColumnEditor) but don’t see anything on the grid when I start editing. And I am getting an error as per attached image.

Thanks.

  • Marcy answered Oct 8, 2016 - 3:40 pm
0 votes

Hello everybody,

This is a general question, I believe more for you, Tiago, to answer, but it could be interesting to more people.

Since the days of VWG, I used to hear about the goodies of ListView, but I had failed to see in what way it is so different from DataGridView. So, I’d like to ask in which kind of scenarios do you favour ListView over DataGridView? Any examples from real life applications would be very much appreciated.

Best regards,
Alex

  • Alex Prinias answered Oct 8, 2016 - 12:28 pm
0 votes

Hi Frank,

It is now working as expected.

Thanks.

  • Marcy answered Oct 8, 2016 - 3:32 am
0 votes

Hi Frank,

I tested it and yes, system messages localization is now working in 1.2.76. Thank you very much!

Regards,

Abelardo Cecena

  • Abelardo Cecena answered Oct 7, 2016 - 11:53 pm
0 votes

Hi Robin,

please retry with the latest build (1.2.76).

Best regards
Frank

0 votes

Hi Corvin,

WJ-7678 is fixed in our latest build (1.2.76)

Best regards
Frank

1 vote

Hi Abelardo,

you can make use of the system message localization with our latest build (1.2.76).

Please take a look at the updated Localization sample in our examples section to see how to configure additional translations.

Thanks and best regards
Frank

0 votes

Hi Marcy,

WJ-7648 is fixed in our latest build (1.2.76).

Thanks and best regards
Frank

0 votes
In reply to: Beta Updates

We have uploaded a new build that includes the following fixes and enhancements

Item Type Priority Severity Title Resolution
WJ-7681 Enhancement Low Trivial Support localization of the MessageBox buttons. Complete
WJ-7674 Enhancement Low Trivial The ComboBox should be able to display html content
in the field area when non-eitable.
Complete
WJ-7675 Enhancement Low Trivial HtmlPanel should use themed scrollbars. Complete
WJ-7676 Enhancement Low Trivial ScrollablePanel, Panel and HtmlPanel should expose
the scroller’s javascript methods.
Complete
WJ-7677 Bug Low Trivial Html content is measured too high when inside
inner elements: combobox and listbox items.
Complete
WJ-7678 Bug Medium Minor BringToFront and SendToBack don’t update the client. Complete
WJ-7680 Bug Low Major Cannot assign cells of different types and editors
to the same column in a DGV control.
Complete
WJ-7648 Bug Medium Major Deleting multiple rows from a DGV removes
the wrong rows on the client.
Complete

For WJ-7681 you can take a look at the updated Localization sample to see how to localize system message boxes.

0 votes

Hi Marcy,

This issue is related to WJ-7648 “Deleting multiple rows from a DGV removes the wrong rows on the client.” which was marked as fixed and I have now reopened. The issue is the order of deletion. The correct rows are deleted on the server, it’s the client update that is wrong depending whether you are deleting from the top or the bottom.

If you hit refresh you can see that the deleted rows are correct, it’s the update that is wrong. It will be fixed in the next update.

Thanks,

Luca

  • Luca answered Oct 7, 2016 - 5:14 pm
0 votes

Glad to help.

  • Tiago Freitas Leal answered Oct 7, 2016 - 4:57 pm
0 votes

I think we should add data binding to as many controls and properties as possible, and the ListView is the perfect candidate. It will be added after the release, I will get back to you directly about using your implementation.

Thanks!

Luca

  • Luca answered Oct 7, 2016 - 4:22 pm
0 votes

Hi Luca,

I know WindowsForms’ ListView doesn’t support DataBinding. Will the Wisej’s ListView support DataBinding as VWG does? Personnaly I don’t care as I have a BoundListView that runs under Windows Forms (I sent you the code, along with the BoundTreeView) and I hope it will be quite easy to port to Wisej.

  • Tiago Freitas Leal answered Oct 7, 2016 - 4:06 pm
  • last active Oct 7, 2016 - 4:06 pm
0 votes

As of now and most likely for the first release the DGV control only supports full row selection. Column and cell selection will be added after the release.

  • Luca answered Oct 7, 2016 - 3:28 pm
Showing 10381 - 10400 of 11k results