Thank you Christian. We know and it’s fixed internally and going through QA. There was a change/enhancement to the accelerator system, that’s why .49 was a dev build.
Hi Angelo,
have not tried it yet, but did you put the needed code into your default.html (head section)?
Something like this:
[code] <link rel="apple-touch-icon" href="http://yourdomain.com/apple-touch-icon.png"/> [/code]
Best regards
Frank
Thank you very much.
Another question: i would like to add a custom autocomplete using an UserPopUp. TagTextBox don’t sent KeyPress (or TextChanged) when you type into input textbox. (key press is handled in TagTextBox but not forwarded).
How can i implement that?
Tried this:
this.listView1.DataSource = data;
this.listView1.Items[0].SubItems[1].Control = new Button() {
Text = "Test",
Dock = DockStyle.Fill
};
Works without issues.
Hi Daniel,
ColorDialog haven’t StartPosition attribute but you can create a Custom ColorDialog and setup form like this:
public class CustomDialogColor: ColorDialog
{
protected override Form CreateUI()
{
var form = base.CreateUI();
form.StartPosition = FormStartPosition.CenterParent;
return form;
}
}
Best,
Kevin (ITG)
You can add subitems directly when the listview is data bound. The exception is correct. Add items to the data source.
if you attach a small runnable test case we may be able to help you further.
Hi,
I followed the implementation of VWG and tried to add control to SubItems in ListViewItem, but it throws exception in Wisej. There is something wrong when Add ListViewSubItem to SubItems, please check the Wisej source.
Thanks for your help,
Page
Hi Jonatha,
you can add use the ClientEvents property collection.
Just add an event handle for focusout and use the script you have put into the listener.
See simple sample, seems to work fine.
Best regards
Frank
Hi Cristian,
this issue is fixed in dev build 2.2.49.
Best regards
Frank
See attached sample.
Download the latest devextreme extension from Github to use the sample and dxBase.Culture.
Download the latest devexpress extension from github, it includes the code I mentioned above so you can see how to add more.
You can’t process synchronous events on the server and the data object has to be populated in javascript.
You can handle the event on the client easily by adding a WidgetEvent. If you want to wire it back to the server use the promise as shown in the devexpress documentation: https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#onRowRemoving
I have attached a sample that shows:
In general, Wisej widgets are all tightly integrated with server functionality. All third party widgets are not designed to interact with the sever and you are supposed to write your code in javascript, or fire off api calls which need an endpoint, a session, etc. With the wisej wrapper most of the work is already there but you still need to wire the api postback if the widget expects a response. Otherwise a normal event works.
Additionally, all third party widgets do not support receiving calls from the server. The wisej wrapper also adds this feature automatically. The other alternative to simply write parts and pieces of your app in javascript, as required by angular and blazor.
Thank you, Luca.
Oh, well… then I don’t know.
I have attached the images from VS.
There is no confusion with an enumeration. The JSON is simply a dynamic object.
Use
var state = await this.dxDataGrid1.Instance.stateAsync();
The state() method in devextreme returns a promise (https://js.devexpress.com/Documentation/ApiReference/UI_Components/dxDataGrid/Methods/#state) which is an asynchronous method.
JSON doesn’t support functions. You need to add a function using the WidgetFunctions collection or add them in javascript directly.
The DevExtreme extension has a filterOptions method in each widget js that lets you convert a string into a function, see dxDataGrid.js
/**
* Process the options map before it is used to
* create or update the widget.
*/
this.filterOptions = function (options) {
if (options.columns) {
for (var i = 0; i < options.columns.length; i++) {
if (options.columns[i].cellTemplate)
options.columns[i].cellTemplate = this.initFunction(options.columns[i].cellTemplate);
}
}
if (options.masterDetail) {
options.masterDetail.template = this.initFunction(options.masterDetail.template);
}
};
Add more conversion in there for the specific widget. For example:
Hi
You can use the listView1.Controls property to manage that
Using for example
listView1.Controls.Add(new button()) // specific control
listView1.Controls.AddRange(Control[] controls) // array of controls
Regards
Hi Adrian
Plase, checkout this sample
https://github.com/iceteagroup/wisej-examples/tree/2.2/Responsive
It help you in complete you goal
Regards and happy coding
