Hi Luca,
I don’t quite the idea of the PopupControl. How is it intended to be used?
Hi Luca,
Fine by me. I’ll keep an eye out for your email.
Nic
There is a wrong inheritance symbol “v”, looks like a missed Ctrl-V. Look for “inherit”: “v” and remove it.
I’ll add a better check when parsing to display also this kind of errors.
Best,
Luca
Hi Luca, Alex,
Got it. Instead of the foreach loop above, I set the ContextMenu property of the DataGridView itself and it worked. WinForm doesn’t need it though.
Thanks and enjoy your weekend.
Hi,
If I may add to the discussion, apart from the datagridview contexmenu, I have been using the Row.ContextMenu without any problem.
Best,
Alex
Hi Ewan,
Best regards,
Alex
The margin on the control is not the same as the margin in the theme. The margin in the theme is used by the widgets to manage the layout inside the widget. The layout of the controls in panel is managed by the server and is not a themeable property.
For example, if you set the margin in a theme for the textfield inside a combobox, the margin is applied to the widget since the widget as a whole is managed by the javascript library. While the Margin property of the controls is managed by the Default layout engine, or the Flow layout engine, or the Table layout engine.
I have to see if we can read the property applied to the top level appearance and use it in the control as the default value. Will log as an enhancement.
Bes,
Luca
I want to migrate this project, I tried two days
http://www.huzursoft.com/project.rar
Controls style ect not important , migrate to wisej this project as general , is it possible or not ?
Hi Luca,
I have a foreach loop as:
foreach (DataGridViewColumn column in dgv.Columns) { column.ContextMenu = ctxMenu; }
I have something to play with during the weekend but the same code works in WinForm though.
Thanks.
Hi guys,
It’s available but not working as expected. Code-snippet below has no effect in Wisej but working in WinForm.
dgv.EditingControlShowing += (s, e) =>
{
e.CellStyle.BackColor = System.Drawing.Color.Aquamarine;
};
Thanks.
The cell styles are not transferred to the editing control – not sure yet if it’s a good idea.
Try e.Control.BackColor = Color.Aquamarine.
Hi Cris,
There are too many ContextMenus in the DGV (row, cell, column and grid) and we haven’t normalized that yet. The dataGrid1.ContextMenu is implemented and it works when right clicking anywhere on the grid: there was a bug that made the grid contextMenu popup only when right clicking (or long tapping) on a cell. (I’m not sure the fix was in the last update).
Best,
Luca
Yes, it should work just the same.
The EditingControlShowing event is available. If you have any issue, please send a test case and we’ll fix it.
Best,
Luca
Hi Nic,
Sounds like a thread deadlock. I will contact you directly, if you are available, to enable tracing and provide dev builds, remote debugging (maybe) etc. And update the thread once we solve it. Otherwise we’ll easily exchange dozens of messages. Would it work for you?
Best,
Luca
Thanks Frank – tested and working 🙂
Hi Alex,
for now I have logged WJ-7613 for that enhancement request.
We´ll keep you updated.
Best regards
Frank
Hi Alex,
yes, it´s logged now as WJ-7612. We´ll keep you posted when it´s implemented.
Best regards
Frank
Hi guys,
Any news on this?
Best,
Alex
Hi guys,
Any news on this?
Best,
Alex
Thanks Alex.
Logged as a bug WJ-7610 and enhancement request WJ-7611.
Best regards
Frank
