DevExtreme dxDataGrid not firing events

0
0

Hello,

I’m encountering difficulties retrieving events from DevExtreme dxDataGrid in VB.NET. I’ve attempted to utilize the Wisej.DevExSamples without success.

Both Wisej and the DevExtreme extension are version 3.5.5. I suspect compatibility issues due to an older DevExtreme version (18.2.18) installed in another project. Could this be the cause?

  • You must to post comments
0
0

Hi Alaa

I think the problem was that I needed to add eventlisteners for
each event and that the event I was trying to use was cellClick, not onCellClick.

So the code below works fine.

Thanks,

 

Private Sub Page1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.DxDataGrid1.AddListener("cellClick", New WidgetEventHandler(AddressOf DxDataGrid1_WidgetEvent))
Me.DxDataGrid1.AddListener("contentReady", New WidgetEventHandler(AddressOf DxDataGrid1_WidgetEvent))
End Sub

Private Sub DxDataGrid1_WidgetEvent(sender As Object, e As WidgetEventArgs) Handles DxDataGrid1.WidgetEvent
AlertBox.Show(
$"<b>{e.Type}</b><br/>{JSON.Stringify(e.Data)}",
MessageBoxIcon.Information)

  Application.Play(MessageBoxIcon.Information)
End Sub

  • You must to post comments
0
0

Hi Alaa

Since it was your testproject I did expect it to work on your side. But
unfortunately your modified sample does not work here either.

https://app.screencast.com/znojTMN4P1guG?conversation=jRzhH4PIk70JgaFJLztG7V

Any suggestions are appreciated.

 

  • You must to post comments
0
0

Hi Per,

I’m not sure I fully understand the requirements here, I have made some adjustments to the sample and everything seems to be correct on my end (check attached sample).

The older version should not be an issue, because the extension uses version 22.2.4.

Can you please give us a better description of your requirements?

Best regards,
Alaa

//

  • You must to post comments
0
0
  • You must to post comments
0
0

Hi Per,

can you please wrap up a test case that clearly shows the issues you are facing i.e. the events that are not fired?

Thanks in advance,
Frank

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.