All Answers

0 votes

The null value support and more is already implemented:

  • The DateTimePicker control interprets blank values as DateTime.MinValue
  • You can enable the check box using ShowCheckBox = true and attach to CheckChanged (see last datetimepicker in the demo) (added: we have a bug with the CheckChanged event not being fired on the server – it works in the demo because it’s fixed but it won’t work with the currently distributed version – it’s WJ-7290)
  • When the value is empty, you can set the Watermark to show a custom text

In addition, very soon we will add the Toolbox component to all editable controls and you’ll be able to add custom icons/buttons. See the title of the window in this small demo: http://demo.wisej.com/apps/datepicker.html

Panels, windows, and soon all editables, can have any number of custom tools.

 

  • Luca answered May 25, 2016 - 2:52 pm
  • last active May 25, 2016 - 3:07 pm
1 vote

 

Yes, it’s the system dialogs item: file, font, color.

This is the color popup widget that is already built-in but not exposed as a Wisej control yet:

http://demo.qooxdoo.org/devel/demobrowser/#widget~ColorPopup.html

and this is the color selector:

http://demo.qooxdoo.org/devel/demobrowser/#widget~ColorSelector.html

The file dialog is a new composite widget that we’ll add right after the ListView since it needs it. The ListView uses the DataGridView for the details view. This was the forced order of implementation.

Best,

Luca

  • Luca answered May 25, 2016 - 3:04 pm
  • last active May 25, 2016 - 3:04 pm
0 votes

To answer the other questions:

  • I can’t reproduce the disable Sunday. Can you give me more info or a small test case?
  • Currently the month names are localized in a bad way using the server’s locale, which is wrong. It should use the browser’s/client-setting language and should be customizable. It’s bug WJ-7291. However, the month names can be changed for the application (user session) and not for the single datetimepicker control.
  • Will add the option to disable and localize the date picker tooltips. It’s WJ-7230.

Thanks!

Best,

Luca

  • Luca answered May 25, 2016 - 3:00 pm
0 votes
In reply to: Grid problem 2

Yes, you are right. We skipped a check before the exception down the line. Will fix. It’s WJ-7289.

  • Luca answered May 25, 2016 - 2:06 pm
0 votes

Also a +1 from our site for this feature! We implemented a similar custom user control in VWG for this feature. Basically it was a DateTimePicker with a checkbox, through which the selected value could be cleared and set to null.

  • Markus answered May 25, 2016 - 10:10 am
  • last active May 25, 2016 - 10:13 am
0 votes

+1 for a nullable date picker – the number of times (and the number of frameworks) where I’ve had to implement this!

  • Nic Adams answered May 25, 2016 - 9:59 am
  • last active May 25, 2016 - 10:03 am
0 votes
In reply to: Grid problem

Thank you for the sample.

The issue in the sample is that .ToList() converts the table to a list and .NET lists don’t support column sorting. They have only one Sort() method which either uses the default comparer or requires a custom comparer.

In you sample you can simply assign the Table<customer> to the data source:

             dataGridView1.DataSource = veri.customers; // instead of dataGridView1.DataSource = veri.customers.ToList();

In alternative, if you want to sort the list you need to implement a SortableBindingList<T>: http://stackoverflow.com/questions/23661195/datagridview-using-sortablebindinglist

HTH

Best,

Luca

 

 

  • Luca answered May 24, 2016 - 4:34 pm
  • last active May 24, 2016 - 4:34 pm
0 votes

The cell borders should be visible in the designer. If not, it’s a bug. You’d like the visible in debug mode at runtime? At runtime it may be difficult since we don’t have the html created for the grid. Controls are all positioned absolutely and there is no container other than the panel itself. The only way to do that would be to put the controls in a panel and the panel (or group box) docked/fill in the cell. The panel adds the possibility to have the border, but also to have a title (see ShowHeader and HeaderPosition) in any of the four sides.

Also, look at the FlowLayoutPanel, we added the FillWeight property and enhanced the AutoSize to grow vertically. FillWeight, together with MinSize and MaxSize are great to have controls fill he row proportionally and wrap when necessary.

Best,

Luca

  • Luca answered May 24, 2016 - 4:06 pm
0 votes

Hi Luca,

Thanks for your answer.

I use the TableLayoutPanel to create my forms. I define a TableLayoutPanel and then I “inject” controls/labels in its cells. In that way I can create forms programmaticaly without having to worry whether the controls are aligned and so on. So, I usually had the cell borders showing while I develop and then have them disappear in production. I mean, I agree I don’t need the cell borders in the final product, but it is useful for development. It would be a nice enhancement if it is something easy to do, but it’s up to you of course to decide.

All the best,

Alex

  • Alex Prinias answered May 24, 2016 - 12:59 pm
  • last active May 24, 2016 - 1:00 pm
0 votes
In reply to: Beta Roadmap

Adding the http://fullcalendar.io/ component fully server-integrated and themed using our themes. It’s a powerful and bare-bone scheduler that fits perfectly as a real time component in Wisej.

Will be in the extensions downloads in a couple of weeks.

  • Luca answered May 23, 2016 - 3:51 pm
0 votes
In reply to: Link in DataGridView

Hi Alex,

No need to apologize! And thank you for reporting the issues. I have to apologize instead for not documenting all the missing features. We are trying to complete the full initial specs as fast as possible and some things just got left behind.

Best,

Luca

 

  • Luca answered May 23, 2016 - 3:49 pm
0 votes

Hi, Luca,

thanks for your answers and I apologize for bringing up things that are not yet implemented… Just to make sure you haven’t forgotten them ! 🙂

Best regards,

Alex

  • Alex Prinias answered May 23, 2016 - 3:38 pm
  • last active May 23, 2016 - 3:44 pm
0 votes

Yep, that’s also not fully implemented/themed. 🙂

Will be available in the next few days together with the DataGridViewComboBoxColumn data binding.

Best,

Luca

 

  • Luca answered May 23, 2016 - 3:34 pm
0 votes

Hi Alex,

The TableLayoutPanel has the BorderStyle for the entire panel. Internally, the cells, are only a layout logic group, they are not rendered on the client. You can place a panel inside a cell, or set the border style of the control in the cell. Child controls can span multiple cells (see the RowSpan and ColSpan properties added to all child controls).

The BorderStyle, for the controls that have it, defines the name of the style: none, solid, dotted, dashed and double. However, the way it’s rendered is entirely defined in the theme. You can set, or override, the width, color and style of the border by setting the styles associated to a state in the theme. Each setting is a group comprised of (top, right, bottom, left).

For example, the BorderStyle.Solid for the editable controls in the material.theme is rendered only as the bottom border.

You can also override only a specific appearance without having to create a whole new theme by adding a theme mixin. Say, for example, that you want the border of all Wisej.Web.Panel controls (you can even theme a specific panel of you change the appearance key) to be 2px instead of 1px, add under /Themes:

double-border.mixin.theme as

{
“appearances”: {
“panel”: {
“inherit”: “panel”,
“states”: {
“default”: {
“styles”: {
“width”: 2
}
}
}
}
}
}

HTH

Best,

Luca

 

 

  • Luca answered May 23, 2016 - 3:31 pm
0 votes

Hi Alex,

The bound feature DataGridComboBoxColumn is one of the last incomplete features we need to complete the DataGridView control. It will be available in the next few days.

Best,

Luca

  • Luca answered May 23, 2016 - 1:30 pm
0 votes

Thanks Tiago,

this is logged as WJ-7284. We´ll inform you when it is fixed.

Best regards
Frank

0 votes

Thanks again, Nic.

This issue is logged as WJ-7286.

Best regards
Frank

0 votes

Thanks Nic.

This problem is logged as WJ-7285.

Best regards
Frank

0 votes

Hi Nic,

thanks for your detailed description and sample.

I have logged issue WJ-7283 for it and we´ll keep you updated.

Best regards
Frank

0 votes

Hi Nic,

thanks, I have logged this issue as WJ-7282. We´ll inform you when it´s fixed.

Best regards
Frank

Showing 11261 - 11280 of 11k results