CellTapped on components

Posted by: nzd on 16 May 2021, 6:15 pm EST

  • Posted 16 May 2021, 6:15 pm EST


    Is there a CellTapped/SelectionChanged action for other components then FlexGrid?
    Or do I need to do something else on FlexChart, to get the pressed Cell?

  • Replied 17 May 2021, 4:56 pm EST

    Hi Nikolas,
    We may use the SelectionChanged event for the FlexChart. The SelectionChanged event should be handled using the onAfterRenderAsync Blazor lifecyle hooks.
    Please refer to the attached sample for reference.
    We have raised an bug with internal tracking id C1-3189 to avail the events so that they might be handled through the Component markup.

    Manish Gupta

  • Replied 17 May 2021, 5:11 pm EST

    Hi Manish,

    The sample doesn't seem to work for me, or the code runs fine, and the chart comes up, but nothing is triggered when I press on the series or axis.

  • Replied 17 May 2021, 5:27 pm EST

    Hello again,

    I got it working in my own project using the sample.
    Does this also apply for FlexPie?

  • Marked as Answer

    Replied 18 May 2021, 5:13 pm EST

    Hi Nikolas,
    In the shared sample, as the Chart Column is selected the Selected column information is updated below the FlexChart. That is why it seemed there is nothing triggered.
    However, same as the FlexChart, SelectionChanged event can also be used for the FlexPie. You may get the SelectedIndex for selected Pie.

    Hope it clears!

    Manish Gupta
  • Replied 5 July 2021, 12:13 am EST

    Hello Manish,

    The demo is not working.

    Nothing happens when i click on the columns.

    Best Regards,
  • Replied 5 July 2021, 1:14 am EST

    Hello Emil,
    We checked the sample attached in original reply and the information is showing below the FlexChart.
    Hence, please share the demo sample depicting you issue with your elaborated problem statement so that we may investigate and assist you ahead.

    Manish Gupta
  • Replied 5 July 2021, 5:53 pm EST

    Hello Manish,
    Ofcourse, I haven't changed anything in the demo project.
    I have tested it in Edge, Opera, Brave and Chrome. Nothing seems to happen when I click on the graphs.

    It seems that the problem is my regional settings on my computer, I usually have it on da-DK, but i have tried changing it to en-GB, and it seems to be working now.
  • Replied 6 July 2021, 12:53 am EST

    We are sorry for the inconvenience. We are able to replicate the issue with Danis(Denmark) culture and we have forwarded this too the concerned team with the internal tracking id C1-3375.
    We will let you know as we get an update on this. '

    Manish Gupta
  • Replied 19 October 2021, 3:30 pm EST

    This issue has been fixed in the internal build and it should be included in the next major release 2021v3.

    Manish Gupta
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels