We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RangeNavigator for Blazor:

Thread ID:

Created:

Updated:

Platform:

Replies:

145961 Jul 15,2019 04:12 PM UTC Jul 16,2019 09:18 AM UTC Blazor 2
loading
Tags: Range Selector
Heiko Donath
Asked On July 15, 2019 04:12 PM UTC

Hi,

I am playing around a bit with Essential Studio for Blazor and I am using the Range Navigator like this:

<div class="control-section">
    <EjsRangeNavigator id="rangeNavigator" Value="@value" valueType="Syncfusion.EJ2.Blazor.Charts.RangeValueType.DateTime" LabelFormat="d-MMM-yy">
        <RangeNavigatorRangeTooltipSettings Enable="true"></RangeNavigatorRangeTooltipSettings> 
        <RangeNavigatorSeriesCollection> 
            <RangeNavigatorSeries dataSource="@_dataSourceRangeSelector" xName="Date" type="RangeNavigatorType.Area" yName="Count"></RangeNavigatorSeries>
        </RangeNavigatorSeriesCollection> 
    </EjsRangeNavigator> 
</div>

Could someone please guide me on how I can react when the users changes the selected range? There should be some kind of event, but I can't find anything in the examples. Whats the name of the attribut I should use?

Many thanks in advance.

Heiko

Kalaimathi Chellaiah [Syncfusion]
Replied On July 16, 2019 09:07 AM UTC

Hi Heiko, 
 
Greetings from syncfusion.  
 
We have analyzed your query. In Range Navigator, there is an event called changed which fires when a user changes the selected range. In that event, you can perform what you desired.  
 
Please find the following code snippet:  
<EjsRangeNavigator id="rangeNavigator" Changed="@rangeChanged"> 
</EjsRangeNavigator> 

@code { 
void rangeChanged(IChangedEventArgs args) 
{ 
//triggers when selected range in range navigator changed. 
 
} 
} 
 
 
Please let us know if you have any concerns.  
 
 
Regards, 
Kalai. 
 


Heiko Donath
Replied On July 16, 2019 09:18 AM UTC

perfect. Thank you. 

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon