The null value support and more is already implemented:
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.
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
To answer the other questions:
Thanks!
Best,
Luca
Yes, you are right. We skipped a check before the exception down the line. Will fix. It’s WJ-7289.
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.
+1 for a nullable date picker – the number of times (and the number of frameworks) where I’ve had to implement this!
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
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
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
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.
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
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
Yep, that’s also not fully implemented/themed. 🙂
Will be available in the next few days together with the DataGridViewComboBoxColumn data binding.
Best,
Luca
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
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
Thanks Tiago,
this is logged as WJ-7284. We´ll inform you when it is fixed.
Best regards
Frank
Thanks again, Nic.
This issue is logged as WJ-7286.
Best regards
Frank
Thanks Nic.
This problem is logged as WJ-7285.
Best regards
Frank
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
Hi Nic,
thanks, I have logged this issue as WJ-7282. We´ll inform you when it´s fixed.
Best regards
Frank
