Skip to main content

BootstrapRangeSelectorScaleLabel.OnClientCustomizeText Property

Specifies a client callback function that returns the text to be displayed in scale labels.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

[DefaultValue("")]
public string OnClientCustomizeText { get; set; }

Property Value

Type Default Description
String String.Empty

A string that represents either the name of a JavaScript function or the entire JavaScript function code that returns the text for the scale label to display.

Remarks

When implementing a callback function for this property, use the scale value to be displayed in a label. This value can be accessed using the fields of the object that is passed as the function’s parameter. Alternatively, you can use the this object within the function. This object has the same structure as the object passed as a parameter. The object has the following structure:

  • value - The row value.
  • valueText - The formatted value converted to a string.
See Also