diff --git a/devexpress-web/devexpress-web-tests.ts b/devexpress-web/devexpress-web-tests.ts
index 38c653921f..d30bf48035 100644
--- a/devexpress-web/devexpress-web-tests.ts
+++ b/devexpress-web/devexpress-web-tests.ts
@@ -1,75 +1,430 @@
+///
///
-namespace Tests.Globals {
- function ASPxTest(): void {
- ASPx.RunStartupScripts();
- }
+declare var hiddenField: ASPxClientHiddenField;
+declare var mainCallbackPanel: ASPxClientCallbackPanel;
+declare var loginPopup: ASPxClientPopupControl;
+declare var searchButton: ASPxClientButton;
+declare var searchComboBox: ASPxClientComboBox;
+declare var roomsNumberSpinEdit: ASPxClientSpinEdit;
+declare var adultsNumberSpinEdit: ASPxClientSpinEdit;
+declare var childrenNumberSpinEdit: ASPxClientSpinEdit;
+declare var checkInDateEdit: ASPxClientDateEdit;
+declare var checkOutDateEdit: ASPxClientDateEdit;
+declare var backSlider: ASPxClientImageSlider;
+declare var locationComboBox: ASPxClientComboBox;
+declare var nightyRateTrackBar: ASPxClientTrackBar;
+declare var customerRatingTrackBar: ASPxClientTrackBar;
+declare var ourRatingCheckBoxList: ASPxClientCheckBoxList;
+declare var startFilterPopupControl: ASPxClientPopupControl;
+declare var imagePopupControl: ASPxClientPopupControl;
+declare var emailTextBox: ASPxClientTextBox;
+declare var creditCardEmailTextBox: ASPxClientTextBox;
+declare var accountEmailTextBox: ASPxClientTextBox;
+declare var bookingPageControl: ASPxClientPageControl;
+declare var paymentTypePageControl: ASPxClientPageControl;
+declare var offerFormPopup: ASPxClientPopupControl;
+declare var roomsSpinEdit: ASPxClientSpinEdit;
+declare var adultsSpinEdit: ASPxClientSpinEdit;
+declare var childrenSpinEdit: ASPxClientSpinEdit;
+declare var hotelDetailsCallbackPanel: ASPxClientCallbackPanel;
+declare var leftPanel: ASPxClientPanel;
+declare var menuButton: ASPxClientButton;
+declare var aboutWindow: ASPxClientPopupControl;
+declare var offersZone: ASPxClientDockZone;
- function ASPxClientControlTest(): void {
- ASPxClientControl.AdjustControls();
- let controls: DevExpress.Web.Scripts.ASPxClientControlCollection = ASPxClientControl.GetControlCollection();
- controls.GetByName("myControl");
+module DXDemo {
+ function showPage(page: string, params: { [key: string]: any }, skipHistory?: boolean): void {
+ var queryString = getQueryString(params || {});
+ hiddenField.Set("page", page);
+ hiddenField.Set("parameters", queryString);
+ hideMenu();
+ var uri = queryString.length ? (page + "?" + queryString) : page;
+ try {
+ if (!skipHistory && window.history && window.history.pushState)
+ window.history.pushState(uri, "", uri || "Default.aspx");
+ } catch (e) { }
+ mainCallbackPanel.PerformCallback(uri);
+ };
- let elements: DevExpress.Web.Scripts.ASPxClientControl[] = controls.elements;
- for (let element of elements) {
- let name: string = element.name;
- element.AdjustControl();
- let mainElement = element.GetMainElement();
- if (mainElement) {
- mainElement.focus();
- }
-
- let isVisible: boolean = element.GetVisible();
- let inCallback: boolean = element.InCallback();
- element.SetWidth(600);
- element.SetHeight(400);
-
- let initEventHandler: (s: DevExpress.Web.Scripts.ASPxClientControl, e: DevExpress.Web.Scripts.ASPxClientEventArgs) => void = (s: DevExpress.Web.Scripts.ASPxClientControl, e: DevExpress.Web.Scripts.ASPxClientEventArgs) => { };
- element.Init.AddHandler(initEventHandler);
- element.Init.RemoveHandler(initEventHandler);
- element.Init.ClearHandlers();
+ export function onMainMenuItemClick(s: ASPxClientMenu, e: ASPxClientMenuItemClickEventArgs): void {
+ switch (e.item.name) {
+ case "login":
+ hideMenu();
+ setTimeout(function () { loginPopup.ShowAtElementByID("MainCallbackPanel_ContentPane"); }, 300);
+ break;
+ case "offers":
+ showPage("SpecialOffers", {});
+ break;
+ default:
+ hideMenu();
+ setTimeout(function () { showAboutWindow(); }, 300);
+ break;
}
- }
+ };
- function ASPxClientUtilsTest(): void {
- ASPxClientUtils.AttachEventToElement(document.getElementById("btnSubmit"), "click", () => { });
+ export function onLoginButtonClick(s: ASPxClientButton, e: ASPxClientButtonClickEventArgs): void {
+ loginPopup.Hide();
+ showAboutWindow();
+ };
- let htmlEvent: Event;
- let x: number = ASPxClientUtils.GetEventX(htmlEvent);
- let y: number = ASPxClientUtils.GetEventY(htmlEvent);
+ export function onSearchButtonClick(): void {
+ if (ASPxClientEdit.ValidateGroup("DateEditors")) {
+ showPage("ShowHotels", {
+ location: searchComboBox.GetValue(),
+ checkin: getFormattedDate(checkInDateEdit.GetValue()),
+ checkout: getFormattedDate(checkOutDateEdit.GetValue()),
+ rooms: roomsNumberSpinEdit.GetValue() || 1,
+ adults: adultsNumberSpinEdit.GetValue() || 1,
+ children: childrenNumberSpinEdit.GetValue() || 0
+ });
+ }
+ };
- let control: DevExpress.Web.Scripts.ASPxClientControl;
- let controlExists: boolean = ASPxClientUtils.IsExists(control);
- }
+ export function onSearchComboBoxIndexChanged(s: ASPxClientComboBox, e: ASPxClientProcessingModeEventArgs): void {
+ hideMenu();
+ $("#IndexContent").addClass("search-extend");
+ searchButton.AdjustControl();
+ };
- function MVCxClientGlobalEventsTest(): void {
- ASPxClientGlobalEvents.AddControlsInitializedEventHandler((s: any, e: DevExpress.Web.Scripts.ASPxClientControlsInitializedEventArgs) => {});
- }
+ export function onIndexOfferCloseClick(index: number): void {
+ var panel = ASPxClientControl.GetControlCollection().GetByName("OfferDockPanel" + index);
+ var sibPanel = ASPxClientControl.GetControlCollection().GetByName("OfferDockPanel" + (index == 1 ? 2 : 1));
+ panel.Hide();
+ sibPanel.MakeFloat();
+ sibPanel.SetWidth(offersZone.GetWidth());
+ sibPanel.Dock(offersZone);
+ };
- function ASPxClientEditTest(): void {
- let editorsValid: boolean = ASPxClientEdit.AreEditorsValid();
+ export function onLogoClick(): void {
+ showPage("", null, false);
+ };
- let container: HTMLElement = document.getElementById("form1");
- let editorsInContainerGroupValid: boolean = ASPxClientEdit.AreEditorsValid(container, "group1", false);
+ export function onMenuNavButtonCheckedChanged(s: ASPxClientCheckBox, e: ASPxClientProcessingModeEventArgs): void {
+ var mainContainer = mainCallbackPanel.GetMainElement();
+ if (s.GetChecked()) {
+ backSlider.Pause();
+ showMenu();
+ }
+ else {
+ hideMenu();
+ backSlider.Play();
+ }
+ };
- ASPxClientEdit.ClearEditorsInContainer(container, "group1", false);
- ASPxClientEdit.ClearGroup("group1", false);
+ export function onBackNavButtonClick(s: ASPxClientButton, e: ASPxClientButtonClickEventArgs): void {
+ var params = getCurrentQueryParams();
+ switch (getCurrentPage()) {
+ case "PrintInvoice":
+ showPage("Booking", params, false);
+ break;
+ case "Booking":
+ if (bookingPageControl.GetActiveTabIndex() > 0)
+ bookingPageControl.SetActiveTabIndex(bookingPageControl.GetActiveTabIndex() - 1);
+ else
+ showPage("ShowRooms", params, false);
+ break;
+ case "ShowRooms":
+ showPage("ShowHotels", params, false);
+ break;
+ case "ShowDetails":
+ showPage("ShowHotels", params, false);
+ break;
+ case "ShowHotels":
+ case "SpecialOffers":
+ showPage("", null, false);
+ break;
+ }
+ };
- let editorsInContainerValid: boolean = ASPxClientEdit.ValidateEditorsInContainer(container, "group1", false);
- let editorsInGroupValid: boolean =ASPxClientEdit.ValidateGroup("group1", false);
- }
-}
+ export function updateSearchResults(): void {
+ var params = getCurrentQueryParams();
+ params["location"] = locationComboBox.GetValue();
+ params["minprice"] = nightyRateTrackBar.GetPositionStart();
+ params["maxprice"] = nightyRateTrackBar.GetPositionEnd();
+ params["custrating"] = customerRatingTrackBar.GetPosition();
+ params["ourrating"] = ourRatingCheckBoxList.GetSelectedValues().join(",");
+ showPage("ShowHotels", params);
+ };
-namespace Tests.Controls {
- declare var comboBox: DevExpress.Web.Scripts.ASPxClientComboBox;
+ export function onBookHotelButtonClick(hotelID: string): void {
+ var queryParams = getCurrentQueryParams();
+ queryParams["hotelID"] = hotelID;
+ showPage("ShowRooms", queryParams);
+ };
- function ASPxClientComboBoxTest() {
- let selectedIndex: number = comboBox.GetSelectedIndex();
- comboBox.SetSelectedIndex(1);
+ export function onDetailsHotelButtonClick(hotelID: string): void {
+ var queryParams = getCurrentQueryParams();
+ queryParams["hotelID"] = hotelID;
+ showPage("ShowDetails", queryParams);
+ };
- let selectedIndexChangedEventHandler: (s: DevExpress.Web.Scripts.ASPxClientControl, e: DevExpress.Web.Scripts.ASPxClientEventArgs) => void = (s: DevExpress.Web.Scripts.ASPxClientControl, e: DevExpress.Web.Scripts.ASPxClientEventArgs) => { };
- comboBox.SelectedIndexChanged.AddHandler(selectedIndexChangedEventHandler);
- comboBox.SelectedIndexChanged.RemoveHandler(selectedIndexChangedEventHandler);
- comboBox.SelectedIndexChanged.ClearHandlers();
- }
-}
+ export function onShowStartFilterButtonClick(s: ASPxClientButton, e: ASPxClientButtonClickEventArgs): void {
+ startFilterPopupControl.ShowAtElementByID("MainCallbackPanel_ContentPane");
+ };
+
+ export function onChangeStartFilterButtonClick(s: ASPxClientButton, e: ASPxClientButtonClickEventArgs): void {
+ if (ASPxClientEdit.ValidateGroup("DateEditors")) {
+ var params = getCurrentQueryParams();
+ params["checkin"] = getFormattedDate(checkInDateEdit.GetValue());
+ params["checkout"] = getFormattedDate(checkOutDateEdit.GetValue());
+ params["rooms"] = roomsNumberSpinEdit.GetValue() || 1;
+ params["adults"] = adultsNumberSpinEdit.GetValue() || 1;
+ params["children"] = childrenNumberSpinEdit.GetValue() || 0;
+ startFilterPopupControl.Hide();
+ showPage(hiddenField.Get("page").toString(), params);
+ }
+ };
+
+ export function onBookRoomButtonClick(roomID: string): void {
+ var params = getCurrentQueryParams();
+ params["roomID"] = roomID;
+ showPage("Booking", params);
+ };
+
+ export function onShowRoomsButtonClick(): void {
+ var queryParams = getCurrentQueryParams();
+ showPage("ShowRooms", queryParams);
+ };
+
+ export function onShowDetailsButtonClick(): void {
+ var queryParams = getCurrentQueryParams();
+ showPage("ShowDetails", queryParams);
+ };
+
+ export function onRoomImageNavItemClick(roomID: string, pictureName: string): void {
+ setTimeout(function () {
+ imagePopupControl.PerformCallback(roomID + "|" + pictureName);
+ imagePopupControl.ShowAtElementByID("MainCallbackPanel_ContentPane");
+ }, 500);
+ };
+
+ export function onRoomsNavBarExpandedChanged(s: ASPxClientNavBar, e: ASPxClientNavBarGroupEventArgs): void {
+ ASPxClientControl.AdjustControls(s.GetMainElement());
+ };
+
+ export function onNextBookingStepButtonClick(step: number): void {
+ var valid = true;
+ var validationGroup = "";
+ if (step == 1)
+ validationGroup = "Account";
+ if (step == 2)
+ validationGroup = "RoomDetails";
+ if (step == 3)
+ validationGroup = "PaymentDetails";
+
+ switch (step) {
+ case 1:
+ valid = ASPxClientEdit.ValidateEditorsInContainer(bookingPageControl.GetMainElement(), "Account");
+ if (valid) {
+ emailTextBox.SetValue(accountEmailTextBox.GetValue());
+ creditCardEmailTextBox.SetValue(accountEmailTextBox.GetValue());
+ showPage("Booking", getCurrentQueryParams());
+ return;
+ }
+ break;
+ case 2:
+ valid = ASPxClientEdit.ValidateEditorsInContainer(bookingPageControl.GetMainElement(), "RoomDetails");
+ emailTextBox.SetValue(accountEmailTextBox.GetValue());
+ break;
+ case 3:
+ var paymentType = paymentTypePageControl.GetActiveTabIndex();
+ if (paymentType == 0)
+ valid = ASPxClientEdit.ValidateEditorsInContainer(bookingPageControl.GetMainElement(), "CreditCard");
+ else if (paymentType == 1)
+ valid = ASPxClientEdit.ValidateEditorsInContainer(bookingPageControl.GetMainElement(), "Cash");
+ else if (paymentType == 2)
+ valid = ASPxClientEdit.ValidateEditorsInContainer(bookingPageControl.GetMainElement(), "PayPal");
+ break;
+ }
+ if (valid) {
+ bookingPageControl.GetTab(step).SetEnabled(true);
+ bookingPageControl.SetActiveTabIndex(step);
+ }
+ };
+
+ export function onAccountCaptchaHiddenFieldInit(s: ASPxClientHiddenField, e: ASPxClientEventArgs): void {
+ if (s.Get("IsCaptchaValid")) {
+ bookingPageControl.GetTab(1).SetEnabled(true);
+ bookingPageControl.SetActiveTabIndex(1);
+ }
+ };
+
+ export function onFinishBookingStepButtonClick(): void {
+ showAboutWindow();
+ };
+
+ export function OnPrintInvoiceButtonClick(): void {
+ showPage("PrintInvoice", getCurrentQueryParams());
+ };
+
+ export function onOfferClick(offerID: string): void {
+ offerFormPopup.SetContentHtml("");
+ offerFormPopup.PerformCallback(offerID);
+ var panel = ASPxClientControl.GetControlCollection().GetByName("DockPanel" + offerID);
+ var panelElement = panel.GetMainElement();
+ if (panelElement.offsetWidth < 330 || panelElement.offsetHeight < 250) {
+ offerFormPopup.SetWidth(400);
+ offerFormPopup.SetHeight(280);
+ offerFormPopup.ShowAtElementByID("SpecialOffersContainer");
+ }
+ else {
+ offerFormPopup.SetWidth(panelElement.offsetWidth);
+ offerFormPopup.SetHeight(panelElement.offsetHeight);
+ offerFormPopup.ShowAtElement(panelElement);
+ }
+ };
+
+ export function onSpecialOfferCheckButtonClick(hotelID: string, locationID: string): void {
+ if (ASPxClientEdit.ValidateGroup("DateEditors")) {
+ var queryParams: { [key: string]: any } = {
+ location: locationID,
+ hotelID: hotelID,
+ checkin: getFormattedDate(checkInDateEdit.GetValue()),
+ checkout: getFormattedDate(checkOutDateEdit.GetValue()),
+ rooms: roomsSpinEdit.GetValue() || 1,
+ adults: adultsSpinEdit.GetValue() || 1,
+ children: childrenSpinEdit.GetValue() || 0
+ };
+ showPage("ShowRooms", queryParams);
+ }
+ };
+
+ export function onIndexOfferClick(): void {
+ showPage("SpecialOffers", {});
+ };
+
+ export function onControlsInit(): void {
+ ASPxClientUtils.AttachEventToElement(window, 'popstate', onHistoryPopState);
+ var pathParts = document.location.href.split("/");
+ var url = pathParts[pathParts.length - 1];
+ try {
+ if (window.history)
+ window.history.replaceState(url, "");
+ } catch (e) { }
+ ASPxClientUtils.AttachEventToElement(window, "resize", onWindowResize);
+ if (ASPxClientUtils.iOSPlatform) {
+ $("form :input").blur(function () {
+ $('html, body').animate({ scrollTop: 0 }, 0);
+ });
+ }
+ };
+
+ export function updateRatingLabels(ratingControl: ASPxClientTrackBar) {
+ $("#cpLeftLabelID").html(ratingControl.GetPositionStart().toString());
+ $("#cpRightLabelID").html(ratingControl.GetPositionEnd().toString());
+ };
+
+ export function onAboutWindowCloseUp(): void {
+ $(mainCallbackPanel.GetMainElement()).removeClass("show-about");
+ };
+
+ export function onRatingControlItemClick(s: ASPxClientRatingControl, e: ASPxClientRatingControlItemClickEventArgs): void {
+ hotelDetailsCallbackPanel.PerformCallback(s.GetValue().toString());
+ };
+
+ export function onInputKeyDown(s: ASPxClientTextBox, e: ASPxClientEditKeyEventArgs): void {
+ var keyCode = ASPxClientUtils.GetKeyCode(e.htmlEvent);
+ if (keyCode == 13) {
+ (jQuery).event.fix(e.htmlEvent).preventDefault();
+ (s.GetInputElement()).blur();
+ }
+ };
+
+ function getCurrentPage(): string {
+ var hfPage = hiddenField.Get("page");
+ if (hfPage)
+ return hfPage;
+ var pathParts = document.location.pathname.split("/");
+ return pathParts[pathParts.length - 1];
+ };
+
+ function showAboutWindow(): void {
+ $(mainCallbackPanel.GetMainElement()).addClass("show-about");
+ aboutWindow.ShowAtElementByID("MainCallbackPanel_ContentPane");
+ };
+
+ function hideMenu(): void {
+ leftPanel.Collapse();
+ if (menuButton.GetMainElement() && menuButton.GetChecked())
+ menuButton.SetChecked(false);
+ };
+
+ function showMenu(): void {
+ leftPanel.Expand();
+ };
+
+ var _resizeSpecialOffersTimeoutID = -1;
+ function onWindowResize(): void {
+ switch (hiddenField.Get("page")) {
+ case "SpecialOffers":
+ if (_resizeSpecialOffersTimeoutID == -1)
+ _resizeSpecialOffersTimeoutID = setTimeout(resizeSpecialOffers, 200);
+ break;
+ }
+ hidePopups("AboutWindow", "StartFilterPopupControl", "LoginPopup", "OfferFormPopup", "ImagePopupControl");
+ };
+
+ function hidePopups(...names: string[]): void {
+ for (var i = 0; i < names.length; i++) {
+ var popupControl = ASPxClientControl.GetControlCollection().GetByName(names[i]);
+ popupControl.Hide();
+ }
+ };
+
+ function resizeSpecialOffers(): void {
+ for (var i = 1; i <= 4; i++) {
+ var panel = ASPxClientControl.GetControlCollection().GetByName("DockPanel" + i);
+ if (panel && panel.IsVisible()) {
+ var zone = panel.GetOwnerZone();
+ zone.SetWidth(((zone.GetMainElement()).parentNode).offsetWidth)
+ }
+ }
+ _resizeSpecialOffersTimeoutID = -1;
+ };
+
+ function getFormattedDate(date: Date): string {
+ return (date.getMonth() + 1) + "-" + date.getDate() + "-" + date.getFullYear();
+ };
+
+ function getCurrentQueryParams(): { [key:string]: any } {
+ var hfParams = hiddenField.Get("parameters");
+ if (hfParams)
+ return getParamsByQueryString(hfParams);
+ var query = document.location.search;
+ if (query[0] === "?")
+ query = query.substr(1);
+ return getParamsByQueryString(query);
+ };
+
+ function getQueryString(params: { [key:string]: any }): string {
+ var queryItems: any[] = [];
+ for (var key in params) {
+ if (!params.hasOwnProperty(key)) continue;
+ queryItems.push(key + "=" + params[key]);
+ }
+ if (queryItems.length > 0)
+ return queryItems.join("&");
+ return "";
+ };
+
+ function getParamsByQueryString(queryString: string): { [key: string]: string } {
+ var result: { [key: string]: any } = {};
+ if (queryString) {
+ var queryStringArray = queryString.split("&");
+ for (var i = 0; i < queryStringArray.length; i++) {
+ var part = queryStringArray[i].split('=');
+ if (part.length != 2) continue;
+ result[part[0]] = decodeURIComponent(part[1].replace(/\+/g, " "));
+ }
+ }
+ return result;
+ };
+
+ function onHistoryPopState(evt: any): void {
+ if (evt.state !== null && evt.state !== undefined) {
+ var uriParts = evt.state.split("?");
+ showPage(uriParts[0], getParamsByQueryString(uriParts[1]), true);
+ }
+ };
+}
\ No newline at end of file
diff --git a/devexpress-web/devexpress-web.d.ts b/devexpress-web/devexpress-web.d.ts
index eb2dd7d678..6671a45ec4 100644
--- a/devexpress-web/devexpress-web.d.ts
+++ b/devexpress-web/devexpress-web.d.ts
@@ -1,555 +1,26973 @@
-// Type definitions for DevExpress ASP.NET web controls (Classic and MVC)
-// Project: https://www.devexpress.com/Products/NET/Controls/ASP/MVC/
-// Definitions by: Sheron Benedict
+// Type definitions for DevExpress ASP.NET 16.1
+// Project: http://devexpress.com/
+// Definitions by: DevExpress Inc.
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-// DX Globals
-declare var ASPx: DevExpress.Web.Scripts.ASPxStatic;
-declare var ASPxClientControl: DevExpress.Web.Scripts.ASPxClientControlStatic;
-declare var ASPxClientUtils: DevExpress.Web.Scripts.ASPxClientUtils;
-declare var ASPxClientGlobalEvents: DevExpress.Web.Scripts.ASPxClientGlobalEvents;
-declare var ASPxClientEdit: DevExpress.Web.Scripts.ASPxClientEditStatic;
-
-declare namespace DevExpress.Web.Scripts {
- export interface ASPxStatic {
- RunStartupScripts(): void;
- }
-
- export interface ASPxClientControlStatic {
- GetControlCollection(): ASPxClientControlCollection;
- AdjustControls(): void;
- }
-
- export interface ASPxClientUtils {
- AttachEventToElement(element: HTMLElement, eventName: string, method: Function): void;
- IsExists(element: ASPxClientControl): boolean;
- GetEventX(htmlEvent: Event): number;
- GetEventY(htmlEvent: Event): number;
- }
-
- export interface ASPxClientGlobalEvents {
- AddControlsInitializedEventHandler(handler: (sender?: any, e?: ASPxClientControlsInitializedEventArgs) => void): void;
- }
-
- export interface ASPxClientEditStatic {
- AreEditorsValid(): boolean;
- AreEditorsValid(container: HTMLElement, validationGroup?: string, checkInvisibleEditors?: boolean): boolean;
-
- ClearEditorsInContainer(container: HTMLElement, validationGroup?: string, clearInvisibleEditors?: boolean): void;
- ClearGroup(validationGroup: string, clearInvisibleEditors?: boolean): void;
-
- ValidateEditorsInContainer(container: HTMLElement, validationGroup?: string, validateInvisibleEditors?: boolean): boolean;
- ValidateGroup(validationGroup: string, validateInvisibleEditors?: boolean): boolean;
- }
-
- export interface ASPxClientControlsInitializedEventArgs {
- isCallback: boolean;
- }
-
- export interface ASPxClientGridViewBatchEditApi {
- StartEdit(visibleIndex: number, columnIndex: number): void;
- SetCellValue(visibleIndex: number, columnFieldNameOrId: string, value: any, displayText?: string): void;
- EndEdit(): void;
- HasChanges(visibleIndex?: number, columnFieldNameOrId?: string): boolean;
- ValidateRow(visibleIndex: number): boolean;
- ValidateRows(): boolean;
- }
-
- export interface ASPxClientControlCollection {
- GetByName(name: string): ASPxClientControl;
- elements: ASPxClientControl[];
- Remove(control: ASPxClientControl): void;
- ForEachControl(processFunc: (control: ASPxClientControl) => void, context?: any): void;
- }
-
- export interface ASPxClientControl {
- // Properties
- name: string;
-
- // Methods
- AdjustControl(): void;
- GetMainElement(): HTMLElement;
- GetVisible(): boolean;
- SetVisible(visibility: boolean): void;
- InCallback(): boolean;
- SetWidth(height: number): void;
- SetHeight(height: number): void;
-
- // Events
- Init: ASPxClientEvent;
- }
-
- export interface ASPxClientEditBase extends ASPxClientControl {
- GetCaption(): string;
- SetCaption(caption: string): void;
-
- GetEnabled(): boolean;
- SetEnabled(enabled: boolean): any;
-
- GetValue(): any;
- SetValue(value: any): any;
- }
-
- export interface ASPxClientEdit extends ASPxClientEditBase {
- // Methods
- GetInputElement(): any;
-
- ValidateGroup(groupName: string): any;
- Validate(): void;
- SetErrorText(errorText: string): any;
-
- GetIsValid(): boolean;
- SetIsValid(isValid: boolean): any;
-
- // Events
- Validation: ASPxClientEvent;
- ValueChanged: ASPxClientEvent;
- }
-
- export interface ASPxClientTextEdit extends ASPxClientEdit {
- }
-
- export interface ASPxClientTextBoxBase extends ASPxClientTextEdit {
- }
-
- export interface ASPxClientButtonEditBase extends ASPxClientTextBoxBase {
- }
-
- export interface ASPxClientDropDownEditBase extends ASPxClientButtonEditBase {
- }
-
- export interface ASPxClientComboBox extends ASPxClientDropDownEditBase {
- GetSelectedIndex(): number;
- SetSelectedIndex(index: number): void;
-
- SelectedIndexChanged: ASPxClientEvent;
- }
-
- export interface ASPxClientListEdit extends ASPxClientEdit {
- GetSelectedIndex(): number;
- SetSelectedIndex(index: number): void;
- }
-
- export interface ASPxClientCheckListBase extends ASPxClientListEdit {
- GetItem(index: number): any;
- GetItemCount(): number;
- }
-
- export interface ASPxClientDockZone extends ASPxClientControl {
- // Methods
- IsVertical(): boolean;
- }
-
- export interface ASPxDockManager {
- // Events
- AfterDock: ASPxClientEvent;
- AfterFloat: ASPxClientEvent;
- PanelClosing: ASPxClientEvent;
- EndPanelDragging: ASPxClientEvent;
-
- // Methods
- GetPanels(): ASPxClientDockPanel[];
- GetPanels(filterPredicate: Function): ASPxClientDockPanel[];
- GetPanelByUID(uniqueId: string): ASPxClientDockPanel;
- }
-
- export interface ASPxClientGenericEvent {
- AddHandler(handler: (s: S, e: E) => void): void;
- RemoveHandler(handler: (s: S, e: E) => void): void;
- ClearHandlers(): void;
- }
-
- export interface ASPxClientEvent extends ASPxClientGenericEvent {
- }
-
- export interface ASPxClientEventArgs {
- }
-
- export interface ASPxClientCancelEventArgs {
- cancel: boolean;
- }
-
- export interface ASPxClientGridViewBatchEditStartEditingEventArgs extends ASPxClientCancelEventArgs {
- focusedColumn: ASPxClientGridViewColumn;
- rowValues: ASPxClientGridViewRowValues;
- visibleIndex: number;
- }
-
- export interface ASPxClientGridViewRowValues {
- [columnIndex: string]: ASPxClientGridViewRowValue;
- }
-
- export interface ASPxClientGridViewRowValue {
- value: string;
- text: string;
- }
-
- export interface ASPxClientBeginCallbackEventArgs extends ASPxClientEventArgs {
- // Properties
- command: any;
- customArgs: any;
- }
-
- export interface ASPxClientEndCallbackEventArgs extends ASPxClientEventArgs {
- }
-
- export interface ASPxClientPopupControlBase extends ASPxClientControl {
- // Properties
- IsVisible: boolean;
-
- // Methods
-
- Show(): void;
- Hide(): void;
- PerformCallback(): void;
-
- // Events
- BeginCallback: ASPxClientEvent;
- EndCallback: ASPxClientEvent;
- Closing: ASPxClientEvent;
- }
-
- export interface ASPxClientDockPanel extends ASPxClientPopupControlBase {
- // Properties
- panelUID: string;
-
- // Methods
- MakeFloat(): any;
- MakeFloat(x: number, y: number): any;
-
- ShowAtPos(x: number, y: number): any;
- }
-
- export interface ASPxPopupControl extends ASPxClientPopupControlBase {
- CallbackRouteValues: any;
- }
-
- export interface ASPxClientLoadingPanel extends ASPxClientControl {
- // Methods
- Show(): void;
- ShowInElement(htmlElement: HTMLElement): any;
- Hide(): void;
- }
-
- export interface ASPxClientCheckBox extends ASPxClientControl {
- // Methods
- GetChecked(): boolean;
- GetCheckState(): string;
-
- SetChecked(isChecked: boolean): any;
- SetCheckState(checkState: string): any;
-
- // Events
- CheckedChanged: ASPxClientGenericEvent;
- }
-
- export interface ASPxClientRadioButton extends ASPxClientCheckBox {
- }
-
- export interface ASPxClientLabel {
- // Methods
- SetText(text: String): void;
- }
-
- export enum CheckState {
- Checked,
-
- Indeterminate,
-
- Unchecked
- }
-
- export interface ASPxClientTab extends ASPxClientControl {
- name: string;
- index: number;
- tabControl: ASPxClientPageControl;
- }
-
- export interface ASPxClientPageControl extends ASPxClientControl {
- // Methods
- AdjustSize(): void;
- GetActiveTab(): ASPxClientTab;
- GetActiveTabIndex(): number;
- SetActiveTabIndex(index: number): any;
-
- GetTabByName(name: string): ASPxClientTab;
- GetTab(index: number): ASPxClientTab;
-
- SetTabContentHTML(tab: ASPxClientTab, html: string): any;
-
- // Events
- ActiveTabChanging: ASPxClientEvent;
- ActiveTabChanged: ASPxClientEvent;
- }
-
- export interface ASPxClientTabControlTabCancelEventArgs extends ASPxClientEventArgs {
- cancel: boolean;
- processOnServer: boolean;
- reloadContentOnCallback: boolean;
- tab: ASPxClientTab;
- }
-
- export interface ASPxClientTabControlTabEventArgs extends ASPxClientEventArgs {
- tab: ASPxClientTab;
- }
-
- export interface ASPxClientCallbackPanel extends ASPxClientControl {
- // Methods
- PerformCallback(): any;
-
- // Events
- BeginCallback: ASPxClientEvent;
- CallbackError: ASPxClientEvent;
- EndCallback: ASPxClientEvent;
- }
-
- export interface ASPxClientCallbackErrorEventArgs extends ASPxClientEventArgs {
- handled: boolean;
- message: string;
- }
-
- export interface ASPxClientProcessingModeEventArgs extends ASPxClientEventArgs {
- processOnServer: boolean;
- }
-
- export interface ASPxClientDateEdit extends ASPxClientEdit {
- GetDate(): Date;
- SetDate(date: Date): any;
- }
-
- export interface ASPxClientEditValidationEventArgs {
- errorText: string;
- isValid: boolean;
- value: any;
- }
-
- export interface ASPxClientGridViewColumn {
- fieldName: string;
- index: number;
- name: string;
- visible: boolean;
- }
-
- export interface ASPxClientGridView extends ASPxClientControl {
- // Properties
- batchEditApi: ASPxClientGridViewBatchEditApi;
- VisibleRowCount: number;
-
- // Methods
- visibleStartIndex: number;
- GetVisibleRowsOnPage(): number;
-
- SetFocusedRowIndex(visibleIndex: number): void;
- GetFocusedRowIndex(): number;
-
- GetRowKey(visibleIndex: number): string;
- GetRowValues(visibleIndex: number, fieldNames: string, onCallback: Function): void;
-
- StartEditRowByKey(key: any): void;
- UpdateEdit(): void;
- CancelEdit(): void;
-
- SelectRowOnPage(visibleIndex: number): void;
- SelectRows(visibleIndices: Int32Array): void;
- SelectRowsByKey(keys: Object[]): void;
- GetColumn(columnIndex: number): ASPxClientGridViewColumn;
- GetColumnByField(columnFieldName: string): ASPxClientGridViewColumn;
-
- GetSelectedRowCount(): number;
- GetSelectedKeysOnPage(): Object[];
- IsRowSelectedOnPage(visibleIndex: number): boolean;
- UnselectRows(): void;
-
- AddNewRow(): void;
- DeleteRow(visibleIndex: number): void;
- DeleteRowByKey(key: any): void;
-
- PerformCallback(args?: string): void;
- GetValuesOnCustomCallback(args: any, onCompleteCallback: Function): any;
- GetSelectedFieldValues(fieldNames: string, onCallback: (result: Object[]) => void): any;
-
- Refresh(): void;
-
- // Events
- BeginCallback: ASPxClientEvent;
- EndCallback: ASPxClientGenericEvent;
- CallbackError: ASPxClientGenericEvent;
- RowClick: ASPxClientGenericEvent;
- RowDblClick: ASPxClientGenericEvent;
- ContextMenu: ASPxClientGenericEvent;
- RowDeleting: ASPxClientEvent;
- SelectionChanged: ASPxClientGenericEvent;
- CustomButtonClick: ASPxClientEvent;
- ColumnResized: ASPxClientEvent;
- BatchEditStartEditing: ASPxClientGenericEvent;
- BatchEditEndEditing: ASPxClientEvent;
- BatchEditRowValidating: ASPxClientEvent;
- ColumnResizing: ASPxClientGenericEvent;
- BatchEditConfirmShowing: ASPxClientGenericEvent;
- }
-
- export interface ASPxClientGridViewColumnCancelEventArgs extends ASPxClientCancelEventArgs {
- column: ASPxClientGridViewColumn;
- }
-
- export interface ASPxClientGridViewRowClickEventArgs {
- cancel: boolean;
- htmlEvent: Event;
- visibleIndex: number;
- }
-
- export interface ASPxClientGridViewSelectionEventArgs {
- isAllRecordsOnPage: boolean;
- isChangedOnServer: boolean;
- isSelected: boolean;
- processOnServer: boolean;
- visibleIndex: number;
- }
-
- export interface ASPxClientGridViewCustomButtonEventArgs {
- buttonID: string;
- processOnServer: boolean;
- visibleIndex: number;
- }
-
- export interface ASPxClientGridViewContextMenuEventArgs {
- htmlEvent: Event;
- index: number;
- objectType: string;
- }
-
- export interface ASPxClientMenuItemClickEventArgs extends ASPxClientProcessingModeEventArgs {
- htmlElement: HTMLElement;
- htmlEvent: Event;
- item: ASPxClientMenuItem;
- }
-
- export interface ASPxClientPopupMenu extends ASPxClientMenuBase {
- // Methods
- ShowAtElement(htmlElement: HTMLElement): any;
- ShowAtElementByID(id: string): any;
- ShowAtPos(x: number, y: number): any;
- }
-
- export interface ASPxClientMenuItem {
- index: number;
- menu: ASPxClientMenuBase;
- name: string;
- parent: ASPxClientMenuItem;
-
- GetEnabled(): boolean;
- SetEnabled(enable: boolean): any;
- }
-
- export interface ASPxClientMenuBase extends ASPxClientControl {
- // Methods
- GetItemByName(name: string): ASPxClientMenuItem;
-
- // Events
- ItemClick: ASPxClientGenericEvent;
- PopUp: ASPxClientEvent;
- }
-
- export interface ASPxClientRadioButtonList extends ASPxClientCheckListBase {
- }
+/**
+ * A client-side counterpart of the DashboardViewer extension.
+ */
+interface MVCxClientDashboardViewer extends ASPxClientDashboardViewer {
+}
+/**
+ * Represents a list of records from the dashboard data source.
+ */
+interface ASPxClientDashboardItemUnderlyingData {
+ /**
+ * Gets the number of rows in the underlying data set.
+ */
+ GetRowCount(): number;
+ /**
+ * Returns the value of the specified cell within the underlying data set.
+ * @param rowIndex An integer value that specifies the zero-based index of the required row.
+ * @param dataMember A String that specifies the required data member.
+ */
+ GetRowValue(rowIndex: number, dataMember: string): Object;
+ /**
+ * Returns an array of data members available in a data source.
+ */
+ GetDataMembers(): string[];
+ /**
+ * Returns whether or not a request for underlying data was successful.
+ */
+ IsDataReceived(): boolean;
+ /**
+ * Returns a callstack containing the error caused by an unsuccessful request for underlying data.
+ */
+ GetRequestDataError(): string;
+}
+/**
+ * Contains parameters used to obtain the underlying data for the dashboard item.
+ */
+interface ASPxClientDashboardItemRequestUnderlyingDataParameters {
+ /**
+ * Gets or sets an array of data member identifiers used to obtain underlying data.
+ * Value: An array of String objects that specify data member identifiers.
+ */
+ DataMembers: string[];
+ /**
+ * Gets or sets axis points used to obtain the underlying data.
+ * Value: An array of ASPxClientDashboardItemDataAxisPoint objects that represent axis points.
+ */
+ AxisPoints: ASPxClientDashboardItemDataAxisPoint[];
+ /**
+ * Gets or sets the dimension value used to obtain the underlying data.
+ * Value: The dimension value.
+ */
+ ValuesByAxisName: Object;
+ /**
+ * Gets or sets the unique dimension value used to obtain the underlying data.
+ * Value: The unique dimension value.
+ */
+ UniqueValuesByAxisName: Object;
+}
+/**
+ * References a method executed after an asynchronous request is complete.
+ */
+interface ASPxClientDashboardItemRequestUnderlyingDataCompleted {
+ /**
+ * References a method executed after an asynchronous request is completed.
+ * @param data An ASPxClientDashboardItemUnderlyingData object that represents a list of records from the dashboard data source.
+ */
+ (data: ASPxClientDashboardItemUnderlyingData): void;
+}
+/**
+ * References a method that will handle the ItemClick event.
+ */
+interface ASPxClientDashboardItemClickEventHandler {
+ /**
+ * References a method that will handle the ItemClick event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardItemClickEventArgs): void;
+}
+/**
+ * Provides data for the ItemClick event.
+ */
+interface ASPxClientDashboardItemClickEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the name of the dashboard item for which the event has been raised.
+ * Value: A String that is the dashboard item name.
+ */
+ ItemName: string;
+ /**
+ * Gets the dashboard item's client data.
+ */
+ GetData(): ASPxClientDashboardItemData;
+ /**
+ * Returns the axis point corresponding to the clicked visual element.
+ * @param axisName A string value returned by the DashboardDataAxisNames class that specifies the name of the data axis.
+ */
+ GetAxisPoint(axisName: string): ASPxClientDashboardItemDataAxisPoint;
+ /**
+ * Gets measures corresponding to the clicked visual element.
+ */
+ GetMeasures(): ASPxClientDashboardItemDataMeasure[];
+ /**
+ * Gets deltas corresponding to the clicked visual element.
+ */
+ GetDeltas(): ASPxClientDashboardItemDataDelta[];
+ /**
+ * Gets the dimensions used to create a hierarchy of axis points for the specified axis.
+ * @param axisName A string value returned by the DashboardDataAxisNames class that specifies the name of the data axis.
+ */
+ GetDimensions(axisName: string): ASPxClientDashboardItemDataDimension[];
+ /**
+ * Requests underlying data corresponding to the clicked visual element.
+ * @param onCompleted A ASPxClientDashboardItemRequestUnderlyingDataCompleted object that references a method executed after the request is completed.
+ * @param dataMembers An array of String values that specify data members used to obtain underlying data.
+ */
+ RequestUnderlyingData(onCompleted: ASPxClientDashboardItemRequestUnderlyingDataCompleted, dataMembers: string[]): void;
+}
+/**
+ * References a method that will handle the ItemVisualInteractivity event.
+ */
+interface ASPxClientDashboardItemVisualInteractivityEventHandler {
+ /**
+ * References a method that will handle the ItemVisualInteractivity event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemVisualInteractivityEventArgs object containing event data.
+ */
+ (source: S, e: ASPxClientDashboardItemVisualInteractivityEventArgs): void;
+}
+/**
+ * Provides data for the ItemVisualInteractivity event.
+ */
+interface ASPxClientDashboardItemVisualInteractivityEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the component name of the dashboard item for which the event was raised.
+ * Value: A String that is the component name of the dashboard item.
+ */
+ ItemName: string;
+ /**
+ * Gets the selection mode for dashboard item elements.
+ */
+ GetSelectionMode(): string;
+ /**
+ * Sets the selection mode for dashboard item elements.
+ * @param selectionMode A String that specifies the selection mode.
+ */
+ SetSelectionMode(selectionMode: string): void;
+ /**
+ * Returns whether or not highlighting is enabled for the current dashboard item.
+ */
+ IsHighlightingEnabled(): boolean;
+ /**
+ * Enables highlighting for the current dashboard item.
+ * @param enableHighlighting true, to enable highlighting; otherwise, false.
+ */
+ EnableHighlighting(enableHighlighting: boolean): void;
+ /**
+ * Gets data axes used to perform custom interactivity actions.
+ */
+ GetTargetAxes(): string[];
+ /**
+ * Sets data axes used to perform custom interactivity actions.
+ * @param targetAxes An array of String objects that specify names of data axes.
+ */
+ SetTargetAxes(targetAxes: string[]): void;
+ /**
+ * Gets the default selection for the current dashboard item.
+ */
+ GetDefaultSelection(): ASPxClientDashboardItemDataAxisPointTuple[];
+ /**
+ * Sets the default selection for the current dashboard item.
+ * @param values An array of ASPxClientDashboardItemDataAxisPointTuple objects specifying axis point tuples used to select default elements.
+ */
+ SetDefaultSelection(values: ASPxClientDashboardItemDataAxisPointTuple[]): void;
+}
+/**
+ * References a method that will handle the ItemSelectionChanged event.
+ */
+interface ASPxClientDashboardItemSelectionChangedEventHandler {
+ /**
+ * References a method that will handle the ItemSelectionChanged event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemSelectionChangedEventArgs object containing event data.
+ */
+ (source: S, e: ASPxClientDashboardItemSelectionChangedEventArgs): void;
+}
+/**
+ * Provides data for the ItemSelectionChanged event.
+ */
+interface ASPxClientDashboardItemSelectionChangedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the component name of the dashboard item for which the event was raised.
+ * Value: A String that is the component name of the dashboard item.
+ */
+ ItemName: string;
+ /**
+ * Gets currently selected elements.
+ */
+ GetCurrentSelection(): ASPxClientDashboardItemDataAxisPointTuple[];
+}
+/**
+ * References a method that will handle the ItemElementCustomColor event.
+ */
+interface ASPxClientDashboardItemElementCustomColorEventHandler {
+ /**
+ * References a method that will handle the ItemElementCustomColor event.
+ * @param source The event source.
+ * @param e An ASPxClientDashboardItemElementCustomColorEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardItemElementCustomColorEventArgs): void;
+}
+/**
+ * Provides data for the ItemElementCustomColor event.
+ */
+interface ASPxClientDashboardItemElementCustomColorEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the component name of the dashboard item for which the event was raised.
+ * Value: A String that is the component name of the dashboard item for which the event was raised.
+ */
+ ItemName: string;
+ /**
+ * Gets the axis point tuple that corresponds to the current dashboard item element.
+ */
+ GetTargetElement(): ASPxClientDashboardItemDataAxisPointTuple;
+ /**
+ * Gets the color of the current dashboard item element.
+ */
+ GetColor(): string;
+ /**
+ * Sets the color of the current dashboard item element.
+ * @param color A String that specifies the color of the current dashboard item element.
+ */
+ SetColor(color: string): void;
+ /**
+ * Gets measures corresponding to the current dashboard item element.
+ */
+ GetMeasures(): ASPxClientDashboardItemDataMeasure[];
+}
+/**
+ * References a method that will handle the ItemWidgetCreated event.
+ */
+interface ASPxClientDashboardItemWidgetCreatedEventHandler {
+ /**
+ * References a method that will handle the ItemWidgetCreated event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemWidgetEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardItemWidgetEventArgs): void;
+}
+interface ASPxClientDashboardItemWidgetUpdatingEventHandler {
+ /**
+ * References a method that will handle the ItemWidgetUpdating event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemWidgetEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardItemWidgetEventArgs): void;
+}
+interface ASPxClientDashboardItemWidgetUpdatedEventHandler {
+ /**
+ * References a method that will handle the ItemWidgetUpdated event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemWidgetEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardItemWidgetEventArgs): void;
+}
+/**
+ * References a method that will handle the ItemBeforeWidgetDisposed event.
+ */
+interface ASPxClientDashboardItemBeforeWidgetDisposedEventHandler {
+ /**
+ * References a method that will handle the ItemBeforeWidgetDisposed event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardItemWidgetEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardItemWidgetEventArgs): void;
+}
+/**
+ * Provides data for events related to client widgets used to visualize data in dashboard items.
+ */
+interface ASPxClientDashboardItemWidgetEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the component name of the dashboard item for which the event was raised.
+ * Value: A String that is the component name of the dashboard item.
+ */
+ ItemName: string;
+ /**
+ * Returns an underlying widget corresponding to the current dashboard item.
+ */
+ GetWidget(): Object;
+}
+/**
+ * Represents multidimensional data visualized in the dashboard item.
+ */
+interface ASPxClientDashboardItemData {
+ /**
+ * Gets the names of the axes that constitute the current ASPxClientDashboardItemData.
+ */
+ GetAxisNames(): string[];
+ /**
+ * Returns the specified data axis.
+ * @param axisName A string value returned by the DashboardDataAxisNames class that specifies the name of the data axis.
+ */
+ GetAxis(axisName: string): ASPxClientDashboardItemDataAxis;
+ /**
+ * Gets the dimensions used to create a hierarchy of axis points for the specified axis.
+ * @param axisName A string value returned by the DashboardDataAxisNames class that specifies the name of the data axis.
+ */
+ GetDimensions(axisName: string): ASPxClientDashboardItemDataDimension[];
+ /**
+ * Gets the measures for the current ASPxClientDashboardItemData object.
+ */
+ GetMeasures(): ASPxClientDashboardItemDataMeasure[];
+ /**
+ * Gets the deltas for the current ASPxClientDashboardItemData object.
+ */
+ GetDeltas(): ASPxClientDashboardItemDataDelta[];
+ /**
+ * Gets the slice of the current ASPxClientDashboardItemData object by the specified axis point tuple.
+ * @param tuple A ASPxClientDashboardItemDataAxisPointTuple object that is a tuple of axis points.
+ */
+ GetSlice(tuple: ASPxClientDashboardItemDataAxisPointTuple): ASPxClientDashboardItemData;
+ /**
+ * Gets the slice of the current ASPxClientDashboardItemData object by the specified axis point.
+ * @param axisPoint An ASPxClientDashboardItemDataAxisPoint object that is the data point in a multidimensional space.
+ */
+ GetSlice(axisPoint: ASPxClientDashboardItemDataAxisPoint): ASPxClientDashboardItemData;
+ /**
+ * Returns a total summary value for the specified measure.
+ * @param measureId A String that is the measure identifier.
+ */
+ GetMeasureValue(measureId: string): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Gets the summary value for the specified delta.
+ * @param deltaId A String that is the data item identifier.
+ */
+ GetDeltaValue(deltaId: string): ASPxClientDashboardItemDataDeltaValue;
+ /**
+ * Returns an array of data members available in a data source.
+ */
+ GetDataMembers(): string[];
+ /**
+ * Creates a tuple based on the specified axes names and corresponding values.
+ * @param values An array of name-value pairs containing the axis name and corresponding values.
+ */
+ CreateTuple(values: Object[]): ASPxClientDashboardItemDataAxisPointTuple;
+ /**
+ * Creates a tuple based on the specified axis points.
+ * @param axisPoints An array of ASPxClientDashboardItemDataAxisPoint objects that specify axis points belonging to different data axes.
+ */
+ CreateTuple(axisPoints: ASPxClientDashboardItemDataAxisPoint[]): ASPxClientDashboardItemDataAxisPointTuple;
+}
+/**
+ * An axis that contains data points corresponding to the specified value hierarchy.
+ */
+interface ASPxClientDashboardItemDataAxis {
+ /**
+ * Gets the dimensions used to create a hierarchy of axis points belonging to the current axis.
+ */
+ GetDimensions(): ASPxClientDashboardItemDataDimension[];
+ /**
+ * Gets the root axis point belonging to the current ASPxClientDashboardItemDataAxis.
+ */
+ GetRootPoint(): ASPxClientDashboardItemDataAxisPoint;
+ /**
+ * Returns axis points corresponding to values of the last-level dimension.
+ */
+ GetPoints(): ASPxClientDashboardItemDataAxisPoint[];
+ /**
+ * Returns axis points corresponding to the specified dimension.
+ * @param dimensionId A String that is the dimension identifier.
+ */
+ GetPointsByDimension(dimensionId: string): ASPxClientDashboardItemDataAxisPoint[];
+ /**
+ * Returns the data point for the specified axis by unique values.
+ * @param uniqueValues A hierarchy of unique values identifying the required data point.
+ */
+ GetPointByUniqueValues(uniqueValues: Object[]): ASPxClientDashboardItemDataAxisPoint;
+}
+/**
+ * Contains the dimension metadata.
+ */
+interface ASPxClientDashboardItemDataDimension {
+ /**
+ * Gets the dimension identifier.
+ * Value: A String that is the dimension identifier.
+ */
+ Id: string;
+ /**
+ * Gets or sets the name of the dimension.
+ * Value: A String that is the name of the dimension.
+ */
+ Name: string;
+ /**
+ * Gets the data member identifier for the current dimension.
+ * Value: A String value that identifies a data member.
+ */
+ DataMember: string;
+ /**
+ * Gets the group interval for date-time values for the current dimension.
+ * Value: A String value that represents how date-time values are grouped.
+ */
+ DateTimeGroupInterval: string;
+ /**
+ * Gets the group interval for string values.
+ * Value: A String value that specifies the group interval for string values.
+ */
+ TextGroupInterval: string;
+ /**
+ * Formats the specified value using format settings of the current dimension.
+ * @param value A value to be formatted.
+ */
+ Format(value: Object): string;
+}
+/**
+ * Contains the measure metadata.
+ */
+interface ASPxClientDashboardItemDataMeasure {
+ /**
+ * Gets the measure identifier.
+ * Value: A String that is the measure identifier.
+ */
+ Id: string;
+ /**
+ * Gets the name of the measure.
+ * Value: A String that is the name of the measure.
+ */
+ Name: string;
+ /**
+ * Gets the data member that identifies the data source list used to provide data for the current measure.
+ * Value: A String value that identifies the data source list used to provide data for the current measure.
+ */
+ DataMember: string;
+ /**
+ * Gets the type of summary function calculated against the current measure.
+ * Value: A String value that identifies the type of summary function calculated against the current measure.
+ */
+ SummaryType: string;
+ /**
+ * Formats the specified value using format settings of the current measure.
+ * @param value A value to be formatted.
+ */
+ Format(value: Object): string;
+}
+/**
+ * Contains the delta metadata.
+ */
+interface ASPxClientDashboardItemDataDelta {
+ /**
+ * Gets the data item identifier.
+ * Value: A String that is the data item identifier.
+ */
+ Id: string;
+ /**
+ * Gets the name of the data item container.
+ * Value: A String value that is the name of the data item container.
+ */
+ Name: string;
+ /**
+ * Gets the identifier for the measure that provides actual values.
+ * Value: A String value that is the measure identifier.
+ */
+ ActualMeasureId: string;
+ /**
+ * Gets the identifier for the measure that provides target values.
+ * Value: A String value that is the measure identifier.
+ */
+ TargetMeasureId: string;
+}
+/**
+ * Provides dimension values at the specified axis point.
+ */
+interface ASPxClientDashboardItemDataDimensionValue {
+ /**
+ * Gets the current dimension value.
+ */
+ GetValue(): Object;
+ /**
+ * Gets the unique value for the current dimension value.
+ */
+ GetUniqueValue(): Object;
+ /**
+ * Gets the display text for the current dimension value.
+ */
+ GetDisplayText(): string;
+}
+/**
+ * Provides the measure value and display text.
+ */
+interface ASPxClientDashboardItemDataMeasureValue {
+ /**
+ * Gets the measure value.
+ */
+ GetValue(): Object;
+ /**
+ * Gets the measure display text.
+ */
+ GetDisplayText(): string;
+}
+/**
+ * Provides delta element values.
+ */
+interface ASPxClientDashboardItemDataDeltaValue {
+ /**
+ * Provides access to the actual value displayed within the delta element.
+ */
+ GetActualValue(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the target value.
+ */
+ GetTargetValue(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the absolute difference between the actual and target values.
+ */
+ GetAbsoluteVariation(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the percent of variation between the actual and target values.
+ */
+ GetPercentVariation(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the percentage of the actual value in the target value.
+ */
+ GetPercentOfTarget(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the main delta value.
+ */
+ GetDisplayValue(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the first additional delta value.
+ */
+ GetDisplaySubValue1(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Provides access to the second additional delta value.
+ */
+ GetDisplaySubValue2(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Gets the value specifying the condition for displaying the delta indication.
+ */
+ GetIsGood(): ASPxClientDashboardItemDataMeasureValue;
+ /**
+ * Gets the type of delta indicator.
+ */
+ GetIndicatorType(): ASPxClientDashboardItemDataMeasureValue;
+}
+/**
+ * A point on the data axis.
+ */
+interface ASPxClientDashboardItemDataAxisPoint {
+ /**
+ * Gets the name of the axis to which the current axis point belongs.
+ */
+ GetAxisName(): string;
+ /**
+ * Gets the last level dimension corresponding to the current axis point.
+ */
+ GetDimension(): ASPxClientDashboardItemDataDimension;
+ /**
+ * Gets the collection of dimensions used to create a hierarchy of axis points from the root point to the current axis point.
+ */
+ GetDimensions(): ASPxClientDashboardItemDataDimension[];
+ /**
+ * Gets the value corresponding to the current axis point.
+ */
+ GetValue(): Object;
+ /**
+ * Gets the display text corresponding to the current axis point.
+ */
+ GetDisplayText(): string;
+ /**
+ * Gets the unique value corresponding to the current axis point.
+ */
+ GetUniqueValue(): Object;
+ /**
+ * Gets the dimension values at the specified axis point.
+ */
+ GetDimensionValue(): ASPxClientDashboardItemDataDimensionValue;
+ /**
+ * Gets the dimension value at the current axis point.
+ * @param dimensionId A String value that specifies the dimension identifier.
+ */
+ GetDimensionValue(dimensionId: string): ASPxClientDashboardItemDataDimensionValue;
+ /**
+ * Gets the child axis points for the current axis point.
+ */
+ GetChildren(): ASPxClientDashboardItemDataAxisPoint[];
+ /**
+ * Gets the parent axis point for the current axis point.
+ */
+ GetParent(): ASPxClientDashboardItemDataAxisPoint;
+}
+/**
+ * Represents a tuple of axis points.
+ */
+interface ASPxClientDashboardItemDataAxisPointTuple {
+ /**
+ * Returns the axis point belonging to the default data axis.
+ */
+ GetAxisPoint(): ASPxClientDashboardItemDataAxisPoint;
+ /**
+ * Returns the axis point belonging to the specified data axis.
+ * @param axisName A string value returned by the DashboardDataAxisNames class that specifies the name of the data axis.
+ */
+ GetAxisPoint(axisName: string): ASPxClientDashboardItemDataAxisPoint;
+}
+/**
+ * A client-side equivalent of the ASPxDashboardDesigner control.
+ */
+interface ASPxClientDashboardDesigner extends ASPxClientControl {
+ /**
+ * Occurs after the state of the dashboard displayed in the ASPxClientDashboardDesigner is changed.
+ */
+ DashboardStateChanged: ASPxClientEvent>;
+ /**
+ * Occurs after a dashboard displayed in the ASPxClientDashboardDesigner is changed.
+ */
+ DashboardChanged: ASPxClientEvent>;
+ /**
+ * Switches the ASPxClientDashboardDesigner to the viewer mode.
+ */
+ SwitchToViewer(): void;
+ /**
+ * Switches the ASPxClientDashboardDesigner to the designer mode.
+ */
+ SwitchToDesigner(): void;
+ /**
+ * Gets the current working mode of the Web Designer.
+ */
+ GetWorkingMode(): string;
+ /**
+ * Gets the identifier of the dashboard that is displayed in the ASPxClientDashboardDesigner.
+ */
+ GetDashboardId(): string;
+ /**
+ * Gets the name of the dashboard that is displayed in the ASPxClientDashboardDesigner.
+ */
+ GetDashboardName(): string;
+ /**
+ * Gets the state of the dashboard (for instance, the master filtering state) displayed in the ASPxClientDashboardDesigner.
+ */
+ GetDashboardState(): string;
+ /**
+ * Loads a dashboard with the specified identifier.
+ * @param dashboardId A String value that specifies the dashboard identifier.
+ */
+ LoadDashboard(dashboardId: string): void;
+ /**
+ * Saves a dashboard to the dashboard storage.
+ */
+ SaveDashboard(): void;
+}
+interface ASPxClientDashboardStateChangedEventHandler {
+ /**
+ * References a method that will handle the DashboardStateChanged event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardStateChangedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardStateChangedEventArgs): void;
+}
+/**
+ * Provides data for the DashboardStateChanged event.
+ */
+interface ASPxClientDashboardStateChangedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the current state of the dashboard.
+ * Value: A String that is the current state of the dashboard.
+ */
+ DashboardState: string;
+}
+interface ASPxClientDashboardChangedEventHandler {
+ /**
+ * References a method that will handle the DashboardChanged event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardChangedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardChangedEventArgs): void;
+}
+/**
+ * Provides data for the DashboardChanged event.
+ */
+interface ASPxClientDashboardChangedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the identifier of a newly opened dashboard.
+ * Value: A String values that is an identifier of newly opened dashboard.
+ */
+ DashboardId: string;
+ /**
+ * Gets the name of a newly opened dashboard.
+ * Value: A String values that is the name of newly opened dashboard.
+ */
+ DashboardName: string;
+}
+/**
+ * A client-side equivalent of the ASPxDashboardViewer control.
+ */
+interface ASPxClientDashboardViewer extends ASPxClientControl {
+ /**
+ * Occurs on the client side after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs after the available interactivity actions have changed.
+ */
+ ActionAvailabilityChanged: ASPxClientEvent>;
+ /**
+ * Occurs when an end-user changes the state of the master filter.
+ */
+ MasterFilterSet: ASPxClientEvent>;
+ /**
+ * Occurs when an end-user clears the selection in the master filter item.
+ */
+ MasterFilterCleared: ASPxClientEvent>;
+ /**
+ * Provides the capability to handle data loading errors in the ASPxClientDashboardViewer.
+ */
+ DataLoadingError: ASPxClientEvent>;
+ /**
+ * Occurs after a drill-down is performed.
+ */
+ DrillDownPerformed: ASPxClientEvent>;
+ /**
+ * Occurs after a drill-up is performed.
+ */
+ DrillUpPerformed: ASPxClientEvent>;
+ /**
+ * Occurs after the ASPxClientDashboardViewer is loaded.
+ */
+ Loaded: ASPxClientEvent>;
+ /**
+ * Occurs when an end-user clicks a dashboard item.
+ */
+ ItemClick: ASPxClientEvent>;
+ /**
+ * Allows you to provide custom visual interactivity for data-bound dashboard items that support element selection and highlighting
+ */
+ ItemVisualInteractivity: ASPxClientEvent>;
+ /**
+ * Allows you to access underlying UI/Data Visualization widgets.
+ */
+ ItemWidgetCreated: ASPxClientEvent>;
+ /**
+ * Allows you to access underlying UI/Data Visualization widgets.
+ */
+ ItemWidgetUpdating: ASPxClientEvent>;
+ /**
+ * Allows you to access underlying UI/Data Visualization widgets.
+ */
+ ItemWidgetUpdated: ASPxClientEvent>;
+ /**
+ * Allows you to access underlying UI/Data Visualization widgets.
+ */
+ ItemBeforeWidgetDisposed: ASPxClientEvent>;
+ /**
+ * Occurs after the selection within the dashboard item is changed.
+ */
+ ItemSelectionChanged: ASPxClientEvent>;
+ /**
+ * Allows you to color the required dashboard item elements using the specified colors.
+ */
+ ItemElementCustomColor: ASPxClientEvent>;
+ /**
+ * Reloads data in the data sources.
+ */
+ ReloadData(): void;
+ /**
+ * Reloads data in the data sources.
+ * @param parameters An array of ASPxClientDashboardParameter objects that specify dashboard parameters on the client side.
+ */
+ ReloadData(parameters: ASPxClientDashboardParameter[]): void;
+ /**
+ * Returns dashboard parameter settings and metadata.
+ */
+ GetParameters(): ASPxClientDashboardParameters;
+ /**
+ * Locks the EndUpdateParameters method call.
+ */
+ BeginUpdateParameters(): void;
+ /**
+ * Unlocks the BeginUpdateParameters method and applies changes made to the parameter settings.
+ */
+ EndUpdateParameters(): void;
+ /**
+ * Returns the currently selected range in the specified Range Filter dashboard item.
+ * @param itemName A String value that specifies the component name of the Range Filter dashboard item.
+ */
+ GetCurrentRange(itemName: string): ASPxClientDashboardRangeFilterSelection;
+ /**
+ * Returns the visible range for the specified Range Filter dashboard item.
+ * @param itemName A String value that specifies the component name of the Range Filter dashboard item.
+ */
+ GetEntireRange(itemName: string): ASPxClientDashboardRangeFilterSelection;
+ /**
+ * Selects the required range in the specified Range Filter dashboard item.
+ * @param itemName A String that specifies the component name of the Range Filter dashboard item.
+ * @param range A String value that specifies the component name of the Range Filter dashboard item.
+ */
+ SetRange(itemName: string, range: ASPxClientDashboardRangeFilterSelection): void;
+ /**
+ * Selects the specified range in the specified Range Filter dashboard item.
+ * @param itemName A String that specifies the component name of the Range Filter dashboard item.
+ * @param dateTimePeriodName A String that specifies the name of the predefined range used to perform a selection.
+ */
+ SetRange(itemName: string, dateTimePeriodName: string): void;
+ /**
+ * Returns axis point tuples identifying elements that can be used to perform drill-down in the specified dashboard item.
+ * @param itemName A String that is the component name of the dashboard item.
+ */
+ GetAvailableDrillDownValues(itemName: string): ASPxClientDashboardItemDataAxisPointTuple[];
+ /**
+ * Returns the axis point tuple identifying the current drill-down state.
+ * @param itemName A String that is the component name of the dashboard item.
+ */
+ GetCurrentDrillDownValues(itemName: string): ASPxClientDashboardItemDataAxisPointTuple;
+ /**
+ * Returns axis point tuples identifying elements that can be selected in the current state of the master filter item.
+ * @param itemName A String that is the component name of the master filter item.
+ */
+ GetAvailableFilterValues(itemName: string): ASPxClientDashboardItemDataAxisPointTuple[];
+ /**
+ * Returns axis point tuples identifying currently selected elements in the master filter item.
+ * @param itemName A String that is the component name of the master filter item.
+ */
+ GetCurrentFilterValues(itemName: string): ASPxClientDashboardItemDataAxisPointTuple[];
+ /**
+ * Returns currently selected elements in the master filter item.
+ * @param itemName A String that specifies a component name of the master filter item.
+ */
+ GetCurrentSelection(itemName: string): ASPxClientDashboardItemDataAxisPointTuple[];
+ /**
+ * Requests underlying data for the specified dashboard item.
+ * @param itemName A String that specifies the component name of the dashboard item.
+ * @param args A ASPxClientDashboardItemRequestUnderlyingDataParameters object containing parameters used to obtain the underlying data.
+ * @param onCompleted A ASPxClientDashboardItemRequestUnderlyingDataCompleted object that references a method executed after the request is completed.
+ */
+ RequestUnderlyingData(itemName: string, args: ASPxClientDashboardItemRequestUnderlyingDataParameters, onCompleted: ASPxClientDashboardItemRequestUnderlyingDataCompleted): void;
+ /**
+ * Invokes the Dashboard Parameters dialog.
+ */
+ ShowParametersDialog(): void;
+ /**
+ * Closes the Dashboard Parameters dialog.
+ */
+ HideParametersDialog(): void;
+ /**
+ * Returns settings that specify parameters affecting how the dashboard is exported.
+ */
+ GetExportOptions(): ASPxClientDashboardExportOptions;
+ /**
+ * Specifies settings that specify parameters affecting how the dashboard is exported.
+ * @param options A ASPxClientDashboardExportOptions object containing settings that specify parameters affecting how the dashboard is exported.
+ */
+ SetExportOptions(options: ASPxClientDashboardExportOptions): void;
+ /**
+ * Exports a dashboard to a PDF file and writes it to the Response.
+ */
+ ExportToPdf(): void;
+ /**
+ * Exports a dashboard to a PDF file with the specified export options and writes it to the Response.
+ * @param options A ASPxClientDashboardExportOptions object containing settings that specify parameters affecting how the dashboard is exported.
+ */
+ ExportToPdf(options: ASPxClientDashboardExportOptions): void;
+ /**
+ * Exports a dashboard to an Image file and writes it to the Response.
+ */
+ ExportToImage(): void;
+ /**
+ * Exports a dashboard to an Image file with the specified export options and writes it to the Response.
+ * @param options A ASPxClientDashboardExportOptions object containing settings that specify parameters affecting how the dashboard is exported.
+ */
+ ExportToImage(options: ASPxClientDashboardExportOptions): void;
+ /**
+ * Exports a dashboard item to a PDF file and writes it to the Response.
+ * @param itemName A String that is the component name of the dashboard item to be exported.
+ */
+ ExportDashboardItemToPdf(itemName: string): void;
+ /**
+ * Exports a dashboard item to a PDF file with the specified export options and writes it to the Response.
+ * @param itemName A String that is the component name of the dashboard item to be exported.
+ * @param options An ASPxClientDashboardExportOptions object containing export options to be applied to the exported dashboard item.
+ */
+ ExportDashboardItemToPdf(itemName: string, options: ASPxClientDashboardExportOptions): void;
+ /**
+ * Exports a dashboard item to an Image file and writes it to the Response.
+ * @param itemName A String that is the component name of the dashboard item to be exported.
+ */
+ ExportDashboardItemToImage(itemName: string): void;
+ /**
+ * Exports a dashboard item to an Image file with the specified export options and writes it to the Response.
+ * @param itemName A String that is the component name of the dashboard item to be exported.
+ * @param options An ASPxClientDashboardExportOptions object containing export options to be applied to the exported dashboard item.
+ */
+ ExportDashboardItemToImage(itemName: string, options: ASPxClientDashboardExportOptions): void;
+ /**
+ * Exports a dashboard item to an Excel file and writes it to the Response.
+ * @param itemName A String that is the component name of the dashboard item to be exported.
+ */
+ ExportDashboardItemToExcel(itemName: string): void;
+ /**
+ * Exports a dashboard item to an Excel file with the specified export options and writes it to the Response.
+ * @param itemName A String that is the component name of the dashboard item to be exported.
+ * @param options An ASPxClientDashboardExportOptions object containing export options to be applied to the exported dashboard item.
+ */
+ ExportDashboardItemToExcel(itemName: string, options: ASPxClientDashboardExportOptions): void;
+ /**
+ * Returns the dashboard width.
+ */
+ GetWidth(): number;
+ /**
+ * Returns the dashboard height.
+ */
+ GetHeight(): number;
+ /**
+ * Specifies the dashboard width.
+ * @param width An integer value that specifies the dashboard width.
+ */
+ SetWidth(width: number): void;
+ /**
+ * Specifies the dashboard height.
+ * @param height An integer value that specifies the dashboard height.
+ */
+ SetHeight(height: number): void;
+ /**
+ * Specifies the dashboard size.
+ * @param width An integer value that specifies the dashboard width.
+ * @param height An integer value that specifies the dashboard height.
+ */
+ SetSize(width: number, height: number): void;
+ /**
+ * Selects required elements by their values in the specified master filter item.
+ * @param itemName A String that species the component name of the master filter item.
+ * @param values Values that will be used to select elements in the master filter item.
+ */
+ SetMasterFilter(itemName: string, values: Object[][]): void;
+ /**
+ * Selects the required elements in the specified master filter item.
+ * @param itemName A String that specifies the component name of the master filter item.
+ * @param axisPointTuples An array of ASPxClientDashboardItemDataAxisPointTuple objects used to identify master filter elements.
+ */
+ SetMasterFilter(itemName: string, axisPointTuples: ASPxClientDashboardItemDataAxisPointTuple[]): void;
+ /**
+ * Performs a drill-down for the required element by its value.
+ * @param itemName A String that species the component name of the dashboard item.
+ * @param value A value that will be used to perform a drill-down for the required element.
+ */
+ PerformDrillDown(itemName: string, value: Object): void;
+ /**
+ * Performs a drill-down for the required element.
+ * @param itemName A String that specifies the component name of the dashboard item.
+ * @param axisPointTuple A ASPxClientDashboardItemDataAxisPointTuple object representing a set of axis points.
+ */
+ PerformDrillDown(itemName: string, axisPointTuple: ASPxClientDashboardItemDataAxisPointTuple): void;
+ /**
+ * Clears the specified master filter item.
+ * @param itemName A String that specifies the component name of the master filter item.
+ */
+ ClearMasterFilter(itemName: string): void;
+ /**
+ * Performs a drill-up for the specified dashboard item.
+ * @param itemName A String that specifies the component name of the dashboard item.
+ */
+ PerformDrillUp(itemName: string): void;
+ /**
+ * Returns whether or not the specified master filter item allows selecting one or more elements.
+ * @param itemName A String that specifies the component name of the master filter item.
+ */
+ CanSetMasterFilter(itemName: string): boolean;
+ /**
+ * Returns whether or not the specified master filter can be cleared in the current state.
+ * @param itemName A String that specifies the component name of the master filter item.
+ */
+ CanClearMasterFilter(itemName: string): boolean;
+ /**
+ * Returns whether or not drill down is possible in the current state of the specified dashboard item.
+ * @param itemName A String that specifies the component name of the dashboard item.
+ */
+ CanPerformDrillDown(itemName: string): boolean;
+ /**
+ * Returns whether or not drill up is possible in the current state of the specified dashboard item.
+ * @param itemName A String that specifies the component name of the dashboard item.
+ */
+ CanPerformDrillUp(itemName: string): boolean;
+ /**
+ * Returns the client data for the specified dashboard item.
+ * @param itemName A String that specifies the component name of the dashboard item.
+ */
+ GetItemData(itemName: string): ASPxClientDashboardItemData;
+}
+/**
+ * A range in the Range Filter dashboard item.
+ */
+interface ASPxClientDashboardRangeFilterSelection {
+ /**
+ * Gets or sets a maximum value in the range of the Range Filter dashboard item.
+ * Value: A maximum value in the range of the Range Filter dashboard item.
+ */
+ Maximum: Object;
+ /**
+ * Gets or sets a minimum value in the range of the Range Filter dashboard item.
+ * Value: A minimum value in the range of the Range Filter dashboard item.
+ */
+ Minimum: Object;
+}
+/**
+ * A collection of ASPxClientDashboardParameter objects.
+ */
+interface ASPxClientDashboardParameters {
+ /**
+ * Returns an array of dashboard parameters from the ASPxClientDashboardParameters collection.
+ */
+ GetParameterList(): ASPxClientDashboardParameter[];
+ /**
+ * Returns a dashboard parameter by its name.
+ * @param name A String object that specifies the parameter name.
+ */
+ GetParameterByName(name: string): ASPxClientDashboardParameter;
+ /**
+ * Returns a dashboard parameter by its index in the ASPxClientDashboardParameters collection.
+ * @param index An integer value that specifies the parameter index.
+ */
+ GetParameterByIndex(index: number): ASPxClientDashboardParameter;
+}
+/**
+ * A client-side dashboard parameter.
+ */
+interface ASPxClientDashboardParameter {
+ /**
+ * Gets the dashboard parameter name on the client side.
+ * Value: A String that is the dashboard parameter name on the client side.
+ */
+ Name: string;
+ /**
+ * Gets the dashboard parameter value on the client side.
+ * Value: A String that specifies the dashboard parameter value on the client side.
+ */
+ Value: Object;
+ /**
+ * Returns a parameter name.
+ */
+ GetName(): string;
+ /**
+ * Returns a current parameter value.
+ */
+ GetValue(): Object;
+ /**
+ * Specifies the current parameter value.
+ * @param value The current parameter value.
+ */
+ SetValue(value: Object): void;
+ /**
+ * Returns a default parameter value.
+ */
+ GetDefaultValue(): Object;
+ /**
+ * Returns the parameter's description displayed to an end-user.
+ */
+ GetDescription(): string;
+ /**
+ * Returns a parameter type.
+ */
+ GetType(): string;
+ /**
+ * Returns possible parameter values.
+ */
+ GetValues(): ASPxClientDashboardParameterValue[];
+}
+/**
+ * Provides access to the parameter value and display text.
+ */
+interface ASPxClientDashboardParameterValue {
+ /**
+ * Returns the parameter display text.
+ */
+ GetDisplayText(): string;
+ /**
+ * Returns a parameter value.
+ */
+ GetValue(): Object;
+}
+/**
+ * Contains settings that specify parameters affecting how the dashboard or dashboard item is exported in Image format.
+ */
+interface ImageFormatOptions {
+ /**
+ * Gets or sets an image format in which the dashboard (dashboard item) is exported.
+ * Value: A value returned by the DashboardExportImageFormat class that specifies an image format in which the dashboard (dashboard item) is exported.
+ */
+ Format: string;
+ /**
+ * Gets or sets the resolution (in dpi) used to export a dashboard (dashboard item) in Image format.
+ * Value: An integer value that specifies the resolution (in dpi) used to export a dashboard (dashboard item) in Image format.
+ */
+ Resolution: number;
+}
+/**
+ * Contains options which define how the dashboard item is exported to Excel format.
+ */
+interface ExcelFormatOptions {
+ /**
+ * Gets or sets the Excel format in which the dashboard item is exported.
+ * Value: A value returned by the DashboardExportExcelFormat class that specifies the Excel format in which the dashboard item is exported.
+ */
+ Format: string;
+ /**
+ * Gets or sets a character used to separate values in a CSV document.
+ * Value: A String value that specifies the character used to separate values in a CSV document.
+ */
+ CsvValueSeparator: string;
+}
+/**
+ * Contains settings that specify parameters affecting how the Grid dashboard item is exported.
+ */
+interface GridExportOptions {
+ /**
+ * Gets or sets whether the size of the Grid dashboard item is changed according to the width of the exported page.
+ * Value: true, to change the size of the Grid dashboard item according to the width of the exported page; otherwise, false.
+ */
+ FitToPageWidth: boolean;
+ /**
+ * Gets or sets whether to print column headers of the Grid dashboard item on every page.
+ * Value: true, to print column headers on every page; otherwise, false.
+ */
+ PrintHeadersOnEveryPage: boolean;
+}
+/**
+ * Contains settings that specify parameters affecting how the Pivot dashboard item is exported.
+ */
+interface PivotExportOptions {
+ /**
+ * Gets or sets whether to print the column headers of the pivot dashboard item on every page.
+ * Value: true, to print column headers on every page; otherwise, false.
+ */
+ PrintHeadersOnEveryPage: boolean;
+}
+/**
+ * Contains settings that specify parameters affecting how the Pie dashboard item is exported.
+ */
+interface PieExportOptions {
+ /**
+ * Gets or sets whether dashboard item elements are arranged automatically on the exported page.
+ * Value: true, to arrange dashboard item elements automatically on the exported page; otherwise, false.
+ */
+ AutoArrangeContent: boolean;
+}
+/**
+ * Contains settings that specify parameters affecting how the Gauge dashboard item is exported.
+ */
+interface GaugeExportOptions {
+ /**
+ * Gets or sets whether dashboard item elements are arranged automatically on the exported page.
+ * Value: true, to arrange dashboard item elements automatically on the exported page; otherwise, false.
+ */
+ AutoArrangeContent: boolean;
+}
+/**
+ * Contains settings that specify parameters affecting how the Card dashboard item is exported.
+ */
+interface CardExportOptions {
+ /**
+ * Gets or sets whether dashboard item elements are arranged automatically on the exported page.
+ * Value: true, to arrange dashboard item elements automatically on the exported page; otherwise, false.
+ */
+ AutoArrangeContent: boolean;
+}
+/**
+ * Contains settings that specify parameters affecting how the Range Filter dashboard item is exported.
+ */
+interface RangeFilterExportOptions {
+ /**
+ * Gets or sets whether the page orientation used to export a Range Filter dashboard item is selected automatically.
+ * Value: true, to automatically select the page orientation used to export a Range Filter dashboard item; otherwise, false.
+ */
+ AutomaticPageLayout: boolean;
+ /**
+ * Gets or sets the export size mode for the Range Filter dashboard item.
+ * Value: A value returned by the RangeFilterExportSizeMode class that specifies the export size mode for the Range Filter dashboard item.
+ */
+ SizeMode: string;
+}
+/**
+ * Contains settings that specify parameters affecting how Chart dashboard items are exported.
+ */
+interface ChartExportOptions {
+ /**
+ * Gets or sets whether the page orientation used to export a Chart dashboard item is selected automatically.
+ * Value: true, to automatically select the page orientation used to export a Chart dashboard item; otherwise, false.
+ */
+ AutomaticPageLayout: boolean;
+ /**
+ * Gets or sets the export size mode for the Chart dashboard item.
+ * Value: A value returned by the ChartExportSizeMode class that specifies the export size mode for the Chart dashboard item.
+ */
+ SizeMode: string;
+}
+/**
+ * Contains settings that specify parameters affecting how map dashboard items are exported.
+ */
+interface MapExportOptions {
+ /**
+ * Gets or sets whether the page orientation used to export a map dashboard item is selected automatically.
+ * Value: true, to automatically select the page orientation used to export a map dashboard item; otherwise, false.
+ */
+ AutomaticPageLayout: boolean;
+ /**
+ * Gets or sets the export size mode for the map dashboard item.
+ * Value: A value returned by the MapExportSizeMode class that specifies specifies the export size mode for the map dashboard item.
+ */
+ SizeMode: string;
+}
+/**
+ * Contains settings that specify parameters affecting how the dashboard (dashboard item) is exported.
+ */
+interface ASPxClientDashboardExportOptions {
+ /**
+ * Gets or sets the standard paper size.
+ * Value: A string value returned by the DashboardExportPaperKind class that specifies the standard paper size.
+ */
+ PaperKind: string;
+ /**
+ * Gets or sets the page orientation used to export a dashboard (dashboard item).
+ * Value: A string value returned by the DashboardExportPageLayout class that specifies the page orientation used to export a dashboard (dashboard item).
+ */
+ PageLayout: string;
+ /**
+ * Gets or sets the mode for scaling when exporting a dashboard (dashboard item).
+ * Value: A string value returned by the DashboardExportScaleMode class that specifies the mode for scaling when exporting a dashboard (dashboard item).
+ */
+ ScaleMode: string;
+ /**
+ * Gets or sets the scale factor (in fractions of 1) by which a dashboard (dashboard item) is scaled.
+ * Value: A Single value that specifies the scale factor by which a dashboard (dashboard item) is scaled.
+ */
+ ScaleFactor: number;
+ /**
+ * Gets or sets the number of horizontal/vertical pages spanning the total width/height of a dashboard (dashboard item).
+ * Value: An integer value that specifies the number of horizontal/vertical pages spanning the total width/height of a dashboard (dashboard item).
+ */
+ AutoFitPageCount: number;
+ /**
+ * Gets or sets the title of the exported document.
+ * Value: A String value that specifies the title of the exported document.
+ */
+ Title: string;
+ /**
+ * Gets or sets whether a dashboard title (or dashboard item's caption) is included as the exported document title.
+ * Value: A DefaultBoolean value that specifies whether a dashboard title (or dashboard item's caption) is included as the exported document title.
+ */
+ ShowTitle: boolean;
+ /**
+ * Gets or sets the filter state's location on the exported document.
+ * Value: A string value returned by the DashboardExportFilterState class that specifies the filter state's location on the exported document.
+ */
+ FilterState: string;
+ /**
+ * Provides access to options for exporting a dashboard or individual items in Image format.
+ * Value: An ImageFormatOptions object containing settings that specify parameters affecting how the dashboard or dashboard item is exported in Image format.
+ */
+ ImageOptions: ImageFormatOptions;
+ /**
+ * Provides access to options for exporting individual dashboard items in Excel format.
+ * Value: An ExcelFormatOptions object containing settings that specify parameters affecting how the dashboard item is exported in Excel format.
+ */
+ ExcelOptions: ExcelFormatOptions;
+ /**
+ * Provides access to options for exporting a Grid dashboard item.
+ * Value: A GridExportOptions object containing settings that specify parameters that affect how Grid dashboard items are exported.
+ */
+ GridOptions: GridExportOptions;
+ /**
+ * Provides access to options for exporting a Pivot dashboard item.
+ * Value: A PivotExportOptions object containing settings that specify parameters that affect how Pivot dashboard items are exported.
+ */
+ PivotOptions: PivotExportOptions;
+ /**
+ * Provides access to options for exporting a Pie dashboard item.
+ * Value: A PieExportOptions object containing settings that specify parameters that affect how Pie dashboard items are exported.
+ */
+ PieOptions: PieExportOptions;
+ /**
+ * Provides access to options for exporting a Gauge dashboard item.
+ * Value: A GaugeExportOptions object containing settings that specify parameters that affect how Gauge dashboard items are exported.
+ */
+ GaugeOptions: GaugeExportOptions;
+ /**
+ * Provides access to options for exporting a Card dashboard item.
+ * Value: A CardExportOptions object containing settings that specify parameters that affect how Card dashboard items are exported.
+ */
+ CardOptions: CardExportOptions;
+ /**
+ * Provides access to options for exporting a Range Filter dashboard item.
+ * Value: A RangeFilterExportOptions object containing settings that specify parameters affecting how the Range Filter dashboard item is exported.
+ */
+ RangeFilterOptions: RangeFilterExportOptions;
+ /**
+ * Provides access to options for exporting a Chart dashboard item.
+ * Value: A ChartExportOptions object containing settings that specify parameters that affect how Chart dashboard items are exported.
+ */
+ ChartOptions: ChartExportOptions;
+ /**
+ * Provides access to options for exporting map dashboard items.
+ * Value: A MapExportOptions object containing settings that specify parameters that affect how map dashboard items are exported.
+ */
+ MapOptions: MapExportOptions;
+}
+/**
+ * References a method that will handle the ActionAvailabilityChanged event.
+ */
+interface ASPxClientDashboardActionAvailabilityChangedEventHandler {
+ /**
+ * References a method that will handle the ActionAvailabilityChanged event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardActionAvailabilityChangedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardActionAvailabilityChangedEventArgs): void;
+}
+/**
+ * Provides data for the ActionAvailabilityChanged event.
+ */
+interface ASPxClientDashboardActionAvailabilityChangedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets whether or not data reloading is available in the current state of dashboard item.
+ * Value: true, if data reloading is available in the current state of dashboard item; otherwise, false.
+ */
+ IsReloadDataAvailable: boolean;
+ /**
+ * Gets interactivity actions currently available for the dashboard item.
+ * Value: An array of ASPxClientDashboardItemAction objects that represent interactivity actions currently available for the dashboard item.
+ */
+ ItemActions: ASPxClientDashboardItemAction[];
+}
+interface ASPxClientDashboardDataLoadingErrorEventHandler {
+ /**
+ * References a method that will handle the DataLoadingError event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardDataLoadingErrorEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardDataLoadingErrorEventArgs): void;
+}
+/**
+ * Provides data for the DataLoadingError event.
+ */
+interface ASPxClientDashboardDataLoadingErrorEventArgs extends ASPxClientEventArgs {
+ /**
+ * Allows you to determine whether or not the error message will be shown.
+ */
+ IsErrorMessageShown(): boolean;
+ /**
+ * Allows you to specify whether to show the error message.
+ * @param value true, to show the error message; otherwise, false.
+ */
+ ShowErrorMessage(value: boolean): void;
+ /**
+ * Allows you to obtain the displayed error message.
+ */
+ GetError(): string;
+ /**
+ * Allows you to specify the displayed error message.
+ * @param value A string value that specifies the displayed error message.
+ */
+ SetError(value: string): void;
+}
+/**
+ * Represents an interactivity action in the dashboard item.
+ */
+interface ASPxClientDashboardItemAction {
+ /**
+ * Gets the name of the dashboard item.
+ * Value: A String that specifies the name of the dashboard item.
+ */
+ ItemName: string;
+ /**
+ * Gets interactivity actions performed on a dashboard item.
+ * Value: An array of ASPxClientDashboardAction values that specify interactivity actions performed on a dashboard item.
+ */
+ Actions: any[];
+}
+declare enum ASPxClientDashboardAction {
+ SetMasterFilter=0,
+ ClearMasterFilter=1,
+ DrillDown=2,
+ DrillUp=3
+}
+/**
+ * References a method that will handle the MasterFilterSet event.
+ */
+interface ASPxClientDashboardMasterFilterSetEventHandler {
+ /**
+ * References a method that will handle the MasterFilterSet event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardMasterFilterSetEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardMasterFilterSetEventArgs): void;
+}
+/**
+ * Provides data for the MasterFilterSet event.
+ */
+interface ASPxClientDashboardMasterFilterSetEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the name of the dashboard item.
+ * Value: A String that specifies the name of the dashboard item.
+ */
+ ItemName: string;
+ /**
+ * Gets values of currently selected elements in the master filter item.
+ * Value: Values of currently selected elements in the master filter item.
+ */
+ Values: Object[][];
+ /**
+ * Returns whether or not the specified value is NullValue.
+ * @param value The specified value.
+ */
+ IsNullValue(value: Object): boolean;
+ /**
+ * Returns whether or not the specified value is OthersValue.
+ * @param value The specified value.
+ */
+ IsOthersValue(value: Object): boolean;
+}
+/**
+ * References a method that will handle the MasterFilterCleared event.
+ */
+interface ASPxClientDashboardMasterFilterClearedEventHandler {
+ /**
+ * References a method that will handle the MasterFilterCleared event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardMasterFilterClearedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardMasterFilterClearedEventArgs): void;
+}
+/**
+ * Provides data for the MasterFilterCleared event.
+ */
+interface ASPxClientDashboardMasterFilterClearedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the name of the dashboard item.
+ * Value: A String that is the name of the dashboard item.
+ */
+ ItemName: string;
+}
+/**
+ * References a method that will handle the DrillDownPerformed event.
+ */
+interface ASPxClientDashboardDrillDownPerformedEventHandler {
+ /**
+ * References a method that will handle the DrillDownPerformed event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardDrillDownPerformedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardDrillDownPerformedEventArgs): void;
+}
+/**
+ * Provides data for the DrillDownPerformed event.
+ */
+interface ASPxClientDashboardDrillDownPerformedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the name of the dashboard item.
+ * Value: A String that specifies the name of the dashboard item.
+ */
+ ItemName: string;
+ /**
+ * Gets the bottommost value from the current drill-down hierarchy.
+ * Value: The bottommost value from the current drill-down hierarchy.
+ */
+ Value: Object[];
+ /**
+ * Returns whether or not the specified value is NullValue.
+ * @param value The specified value.
+ */
+ IsNullValue(value: Object): boolean;
+ /**
+ * Returns whether or not the specified value is OthersValue.
+ * @param value The specified value.
+ */
+ IsOthersValue(value: Object): boolean;
+}
+/**
+ * References a method that will handle the DrillUpPerformed event.
+ */
+interface ASPxClientDashboardDrillUpPerformedEventHandler {
+ /**
+ * References a method that will handle the DrillUpPerformed event.
+ * @param source The event source.
+ * @param e A ASPxClientDashboardDrillUpPerformedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientDashboardDrillUpPerformedEventArgs): void;
+}
+/**
+ * Provides data for the DrillUpPerformed event.
+ */
+interface ASPxClientDashboardDrillUpPerformedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the name of the dashboard item.
+ * Value: A String that is the name of the dashboard item.
+ */
+ ItemName: string;
+}
+/**
+ * Serves as the base object for all the editors included in the client-side object model.
+ */
+interface ASPxClientEditBase extends ASPxClientControl {
+ /**
+ * Returns the editor's value.
+ */
+ GetValue(): Object;
+ /**
+ * Changes the editor's value.
+ * @param value An object representing the data to be assigned to the editor's edit value.
+ */
+ SetValue(value: Object): void;
+ /**
+ * Returns a value indicating whether an editor is enabled.
+ */
+ GetEnabled(): boolean;
+ /**
+ * Specifies whether an editor is enabled.
+ * @param value true to enable the editor; otherwise, false.
+ */
+ SetEnabled(value: boolean): void;
+ /**
+ * Returns the text displayed in the editor caption.
+ */
+ GetCaption(): string;
+ /**
+ * Specifies the text displayed in the editor caption.
+ * @param caption A string value specifying the editor caption.
+ */
+ SetCaption(caption: string): void;
+}
+/**
+ * Serves as the base object for all the editors that support validation.
+ */
+interface ASPxClientEdit extends ASPxClientEditBase {
+ /**
+ * Fires on the client side when the editor receives input focus.
+ */
+ GotFocus: ASPxClientEvent>;
+ /**
+ * Fires on the client side when the editor loses input focus.
+ */
+ LostFocus: ASPxClientEvent>;
+ /**
+ * Allows you to specify whether the value entered into the editor is valid, and whether the editor is allowed to lose focus.
+ */
+ Validation: ASPxClientEvent>;
+ /**
+ * Fires after the editor's value has been changed by end-user interactions.
+ */
+ ValueChanged: ASPxClientEvent>;
+ /**
+ * Returns an HTML element that represents the control's input element.
+ */
+ GetInputElement(): Object;
+ /**
+ * Sets input focus to the editor.
+ */
+ Focus(): void;
+ /**
+ * Gets a value that indicates whether the editor's value passes validation.
+ */
+ GetIsValid(): boolean;
+ /**
+ * Gets the error text to be displayed within the editor's error frame if the editor's validation fails.
+ */
+ GetErrorText(): string;
+ /**
+ * Sets a value that specifies whether the editor's value is valid.
+ * @param isValid True if the editor's value is valid; otherwise, False.
+ */
+ SetIsValid(isValid: boolean): void;
+ /**
+ * Sets the error text to be displayed within the editor's error frame if the editor's validation fails.
+ * @param errorText A string value representing the error text.
+ */
+ SetErrorText(errorText: string): void;
+ /**
+ * Performs the editor's validation.
+ */
+ Validate(): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxBinaryImage control.
+ */
+interface ASPxClientBinaryImage extends ASPxClientEdit {
+ /**
+ * Occurs on the client side after an image is clicked.
+ */
+ Click: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client side if any server error occurs during server-side processing of a callback sent by the ASPxClientBinaryImage.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Sets the size of the image editor.
+ * @param width An integer value that specifies the control's width.
+ * @param height An integer value that specifies the control's height.
+ */
+ SetSize(width: number, height: number): void;
+ /**
+ * For internal use only.
+ */
+ GetValue(): Object;
+ /**
+ * For internal use only.
+ * @param value
+ */
+ SetValue(value: Object): void;
+ /**
+ * Removes an image from the editor content.
+ */
+ Clear(): void;
+ /**
+ * Returns a name of the last uploaded file.
+ */
+ GetUploadedFileName(): string;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param parameter A string value that contains any information that needs to be sent to the server-side CustomCallback event.
+ */
+ PerformCallback(parameter: string): void;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param parameter A string value that contains any information that needs to be sent to the server-side CustomCallback event.
+ * @param onSuccess A delegate method that will be called if the callback is successful.
+ */
+ PerformCallback(parameter: string, onSuccess: Function): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxButton control.
+ */
+interface ASPxClientButton extends ASPxClientControl {
+ /**
+ * Occurs on the client side when the button's checked state is changed.
+ */
+ CheckedChanged: ASPxClientEvent>;
+ /**
+ * Fires on the client side when the button receives input focus.
+ */
+ GotFocus: ASPxClientEvent>;
+ /**
+ * Fires on the client side when the button loses input focus.
+ */
+ LostFocus: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a button is clicked.
+ */
+ Click: ASPxClientEvent>;
+ /**
+ * Simulates a mouse click action on the button control.
+ */
+ DoClick(): void;
+ /**
+ * Returns a value indicating whether the button is checked.
+ */
+ GetChecked(): boolean;
+ /**
+ * Sets a value that specifies the button's checked status.
+ * @param value true if the button is checked; otherwise, false.
+ */
+ SetChecked(value: boolean): void;
+ /**
+ * Returns the text displayed within the button.
+ */
+ GetText(): string;
+ /**
+ * Sets the text to be displayed within the button.
+ * @param value A string value specifying the text to be displayed within the button.
+ */
+ SetText(value: string): void;
+ /**
+ * Returns the URL pointing to the image displayed within the button.
+ */
+ GetImageUrl(): string;
+ /**
+ * Sets the URL pointing to the image displayed within the button.
+ * @param value A string value that is the URL to the image displayed within the button.
+ */
+ SetImageUrl(value: string): void;
+ /**
+ * Sets a value specifying whether the button is enabled.
+ * @param value true to enable the button; false to disable it.
+ */
+ SetEnabled(value: boolean): void;
+ /**
+ * Returns a value indicating whether the button is enabled.
+ */
+ GetEnabled(): boolean;
+ /**
+ * Sets input focus to the button.
+ */
+ Focus(): void;
+}
+/**
+ * A method that will handle the client Click event.
+ */
+interface ASPxClientButtonClickEventHandler {
+ /**
+ * A method that will handle the client Click event.
+ * @param source An object that is the event's source.
+ * @param e An ASPxClientButtonClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientButtonClickEventArgs): void;
+}
+/**
+ * Provides data for the Click event.
+ */
+interface ASPxClientButtonClickEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Specifies whether both the event's default action and the event's bubbling upon the hierarchy of event handlers should be canceled.
+ * Value: true to cancel the event's default action and the event's bubbling upon the hierarchy of event handlers; otherwise, false.
+ */
+ cancelEventAndBubble: boolean;
+}
+/**
+ * Represents the client-side equivalent of the ASPxCalendar control.
+ */
+interface ASPxClientCalendar extends ASPxClientEdit {
+ /**
+ * Fires on the client side after the selected date has been changed within the calendar.
+ */
+ SelectionChanged: ASPxClientEvent>;
+ /**
+ * Occurs on the client side when the month displayed within the calendar is changed.
+ */
+ VisibleMonthChanged: ASPxClientEvent>;
+ /**
+ * Allows you to disable the calendar's days.
+ */
+ CustomDisabledDate: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user presses a key while the editor has focus.
+ */
+ KeyDown: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user presses and releases a key while the editor has focus.
+ */
+ KeyPress: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user releases a pressed key while the editor has focus.
+ */
+ KeyUp: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after the callback server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientCalendar.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Tests whether the specified date is selected.
+ * @param date A date-time value that specifies the date to test.
+ */
+ IsDateSelected(date: Date): boolean;
+ /**
+ * Sets the date that specifies the month and year to be displayed in the calendar.
+ * @param date The date that specifies calendar's visible month and year.
+ */
+ SetVisibleDate(date: Date): void;
+ /**
+ * Sets the calendar's selected date.
+ * @param date A date object that specifies the calendar's selected date.
+ */
+ SetSelectedDate(date: Date): void;
+ /**
+ * Returns the calendar's selected date.
+ */
+ GetSelectedDate(): Date;
+ /**
+ * Gets the date that determines the month and year that are currently displayed in the calendar.
+ */
+ GetVisibleDate(): Date;
+ /**
+ * Selects the specified date within the calendar.
+ * @param date A date-time value that specifies the selected date.
+ */
+ SelectDate(date: Date): void;
+ /**
+ * Selects the specified range of dates within the calendar.
+ * @param start A date-time value that specifies the range's first date.
+ * @param end A date-time value that specifies the range's last date.
+ */
+ SelectRange(start: Date, end: Date): void;
+ /**
+ * Deselects the specified date within the calendar.
+ * @param date A date-time value that specifies the date to deselect.
+ */
+ DeselectDate(date: Date): void;
+ /**
+ * Deselects the specified range of dates within the calendar.
+ * @param start A date-time value that specifies the range's first date.
+ * @param end A date-time value that specifies the range's last date.
+ */
+ DeselectRange(start: Date, end: Date): void;
+ /**
+ * Deselects all the selected dates within the calendar.
+ */
+ ClearSelection(): void;
+ /**
+ * Returns a list of dates which are selected within the calendar.
+ */
+ GetSelectedDates(): Date[];
+ /**
+ * Gets the minimum date on the calendar.
+ */
+ GetMinDate(): Date;
+ /**
+ * Sets the minimum date of the calendar.
+ * @param date A DateTime object representing the minimum date.
+ */
+ SetMinDate(date: Date): void;
+ /**
+ * Gets the maximum date on the calendar.
+ */
+ GetMaxDate(): Date;
+ /**
+ * Sets the maximum date of the calendar.
+ * @param date A DateTime object representing the maximum date.
+ */
+ SetMaxDate(date: Date): void;
+}
+/**
+ * Provides data for the CustomDisabledDate event.
+ */
+interface ASPxClientCalendarCustomDisabledDateEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the date processed in the calendar.
+ * Value: A DateTime value containing processed data.
+ */
+ date: Date;
+ /**
+ * Gets or sets a value specifying whether selection of the processed calendar date is disabled.
+ * Value: true, if the date is disabled; otherwise, false.
+ */
+ isDisabled: boolean;
+}
+/**
+ * A method that will handle the client CustomDisabledDate event.
+ */
+interface ASPxClientCalendarCustomDisabledDateEventHandler {
+ /**
+ * A method that will handle the client CustomDisabledDate event.
+ * @param source The event source.
+ * @param e An ASPxClientCalendarCustomDisabledDateEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCalendarCustomDisabledDateEventArgs): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxCaptcha control.
+ */
+interface ASPxClientCaptcha extends ASPxClientControl {
+ /**
+ * Sets input focus to the control's text box.
+ */
+ Focus(): void;
+ /**
+ * Refreshes the code displayed within the editor's challenge image.
+ */
+ Refresh(): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxCheckBox control.
+ */
+interface ASPxClientCheckBox extends ASPxClientEdit {
+ /**
+ * Occurs on the client side when the editor's checked state is changed.
+ */
+ CheckedChanged: ASPxClientEvent>;
+ /**
+ * Returns a value indicating whether the check box editor is checked.
+ */
+ GetChecked(): boolean;
+ /**
+ * Sets a value which specifies the checked status of the check box editor.
+ * @param isChecked true if the check box editor is checked; otherwise, false.
+ */
+ SetChecked(isChecked: boolean): void;
+ /**
+ * Returns the text displayed within the editor.
+ */
+ GetText(): string;
+ /**
+ * Returns a value which specifies a check box checked state.
+ */
+ GetCheckState(): string;
+ /**
+ * Sets a value specifying the state of a check box.
+ * @param checkState A string value matches one of the CheckState enumeration values.
+ */
+ SetCheckState(checkState: string): void;
+ /**
+ * Sets the text to be displayed within the editor.
+ * @param text A string value specifying the text to be displayed within the editor.
+ */
+ SetText(text: string): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxRadioButton control.
+ */
+interface ASPxClientRadioButton extends ASPxClientCheckBox {
+ /**
+ * Returns a value indicating whether the radio button is checked.
+ */
+ GetChecked(): boolean;
+ /**
+ * Sets a value which specifies the radio button's checked status.
+ * @param isChecked true if the radio button is checked; otherwise, false.
+ */
+ SetChecked(isChecked: boolean): void;
+}
+/**
+ * Represents a base for client-side objects which allow single-line text input.
+ */
+interface ASPxClientTextEdit extends ASPxClientEdit {
+ /**
+ * Occurs on the client-side when an end-user presses a key while the editor has focus.
+ */
+ KeyDown: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user presses and releases a key while the editor has focus.
+ */
+ KeyPress: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user releases a pressed key while the editor has focus.
+ */
+ KeyUp: ASPxClientEvent>;
+ /**
+ * Fires on the client side when the editor's text is changed and focus moves out of the editor by end-user interactions.
+ */
+ TextChanged: ASPxClientEvent>;
+ /**
+ * Returns the text displayed within the editor.
+ */
+ GetText(): string;
+ /**
+ * Sets the text to be displayed within the editor.
+ * @param text A string value specifying the text to be displayed within the editor.
+ */
+ SetText(text: string): void;
+ /**
+ * Selects all text in the text editor.
+ */
+ SelectAll(): void;
+ /**
+ * Sets the caret position within the edited text.
+ * @param position An integer value that specifies the zero-based index of a text character that shall precede the caret.
+ */
+ SetCaretPosition(position: number): void;
+ /**
+ * Selects the specified portion of the editor's text.
+ * @param startPos A zero-based integer value specifying the selection's starting position.
+ * @param endPos A zero-based integer value specifying the selection's ending position.
+ * @param scrollToSelection true to scroll the editor's contents to make the selection visible; otherwise, false.
+ */
+ SetSelection(startPos: number, endPos: number, scrollToSelection: boolean): void;
+}
+/**
+ * Represents a base for client-side editors which are capable of displaying and editing text data in their edit regions.
+ */
+interface ASPxClientTextBoxBase extends ASPxClientTextEdit {
+}
+/**
+ * Represents a base for client button editor objects.
+ */
+interface ASPxClientButtonEditBase extends ASPxClientTextBoxBase {
+ /**
+ * Occurs on the client side after an editor button is clicked.
+ */
+ ButtonClick: ASPxClientEvent>;
+ /**
+ * Specifies whether the button is visible.
+ * @param number An integer value specifying the button's index within the Buttons collection.
+ * @param value true, to make the button visible; otherwise, false.
+ */
+ SetButtonVisible(number: number, value: boolean): void;
+ /**
+ * Returns a value specifying whether a button is displayed.
+ * @param number An integer value specifying the button's index within the Buttons collection.
+ */
+ GetButtonVisible(number: number): boolean;
+}
+/**
+ * Represents a base class for the editors that contain a drop down window.
+ */
+interface ASPxClientDropDownEditBase extends ASPxClientButtonEditBase {
+ /**
+ * Occurs on the client-side when the drop down window is opened.
+ */
+ DropDown: ASPxClientEvent>;
+ /**
+ * Occurs on the client side when the drop down window is closed.
+ */
+ CloseUp: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before the drop down window is closed and allows you to cancel the operation.
+ */
+ QueryCloseUp: ASPxClientEvent>;
+ /**
+ * Modifies the size of the drop down window in accordance with its content.
+ */
+ AdjustDropDownWindow(): void;
+ /**
+ * Invokes the editor's drop down window.
+ */
+ ShowDropDown(): void;
+ /**
+ * Closes the opened drop down window of the editor.
+ */
+ HideDropDown(): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxColorEdit control.
+ */
+interface ASPxClientColorEdit extends ASPxClientDropDownEditBase {
+ /**
+ * Fires after the selected color has been changed within the color editor via end-user interaction.
+ */
+ ColorChanged: ASPxClientEvent>;
+ /**
+ * This event is not in effect for the ASPxClientColorEdit. Use the ColorChanged event instead.
+ */
+ TextChanged: ASPxClientEvent>;
+ /**
+ * Returns the color editor's value.
+ */
+ GetColor(): string;
+ /**
+ * Specifies the color value for the color editor.
+ * @param value A string value specifying the editor color.
+ */
+ SetColor(value: string): void;
+ /**
+ * Indicates whether the automatic color item is selected.
+ */
+ IsAutomaticColorSelected(): boolean;
+}
+/**
+ * Represent the client-side equivalent of the ASPxComboBox control.
+ */
+interface ASPxClientComboBox extends ASPxClientDropDownEditBase {
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientComboBox.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a different item in the list has been selected (focus has been moved from one item to another).
+ */
+ SelectedIndexChanged: ASPxClientEvent>;
+ /**
+ * Specifies the text displayed within the editor's edit box.
+ * @param text A string value specifying the editor's text.
+ */
+ SetText(text: string): void;
+ /**
+ * Adds a new item to the editor specifying the item's display text and returns the index of the added item.
+ * @param text A string value specifying the item's display text.
+ */
+ AddItem(text: string): number;
+ /**
+ * Adds a new item to the editor specifying the item's display text and associated value, and returns the index of the added item.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ */
+ AddItem(text: string, value: Object): number;
+ /**
+ * Adds a new item to the editor specifying the item's display text, associated value and displayed image, and returns the index of the added item.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ * @param imageUrl A string value specifying the path to the image displayed by the item.
+ */
+ AddItem(text: string, value: Object, imageUrl: string): number;
+ /**
+ * Inserts a new item specified by its display text, associated value and displayed image into the editor's item collection, at the position specified.
+ * @param index An integer value representing the zero-based index of the position where the item should be inserted.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ * @param imageUrl A string value specifying the path to the image displayed by the item.
+ */
+ InsertItem(index: number, text: string, value: Object, imageUrl: string): void;
+ /**
+ * Inserts a new item specified by its display text and associated value into the editor's item collection, at the position specified.
+ * @param index An integer value representing the zero-based index of the position where the item should be inserted.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ */
+ InsertItem(index: number, text: string, value: Object): void;
+ /**
+ * Inserts a new item specified by its display text into the editor's item collection, at the position specified.
+ * @param index An integer value representing the zero-based index of the position where the item should be inserted.
+ * @param text A string value specifying the item's display text.
+ */
+ InsertItem(index: number, text: string): void;
+ /**
+ * Removes an item specified by its index from the client list editor.
+ * @param index An integer value representing the index of the list item to be removed.
+ */
+ RemoveItem(index: number): void;
+ /**
+ * Removes all items from the client combo box editor.
+ */
+ ClearItems(): void;
+ /**
+ * Prevents the client combobox editor from being rendered until the EndUpdate method is called.
+ */
+ BeginUpdate(): void;
+ /**
+ * Re-enables editor render operations after a call to the BeginUpdate method and forces an immediate re-rendering.
+ */
+ EndUpdate(): void;
+ /**
+ * Scrolls the editor's item list, so that the specified item becomes visible.
+ * @param index An integer value that specifies the item's index within the editor's client item list.
+ */
+ MakeItemVisible(index: number): void;
+ /**
+ * Returns an item specified by its index within the combo box editor's item collection.
+ * @param index An integer value specifying the zero-based index of the item to search for.
+ */
+ GetItem(index: number): ASPxClientListEditItem;
+ /**
+ * Returns a combo box item by its text.
+ * @param text A string that specifies the item's text.
+ */
+ FindItemByText(text: string): ASPxClientListEditItem;
+ /**
+ * Returns a combo box item by its value.
+ * @param value An object that specifies the item's value.
+ */
+ FindItemByValue(value: Object): ASPxClientListEditItem;
+ /**
+ * Gets the number of items contained in the editor's item collection.
+ */
+ GetItemCount(): number;
+ /**
+ * Returns the index of the selected item within the combo box editor.
+ */
+ GetSelectedIndex(): number;
+ /**
+ * Sets the combobox editor's selected item specified by its index.
+ * @param index An integer value specifying the zero-based index of the item to select.
+ */
+ SetSelectedIndex(index: number): void;
+ /**
+ * Returns the combo box editor's selected item.
+ */
+ GetSelectedItem(): ASPxClientListEditItem;
+ /**
+ * Sets the list editor's selected item.
+ * @param item An ASPxClientListEditItem object that specifies the item to select.
+ */
+ SetSelectedItem(item: ASPxClientListEditItem): void;
+ /**
+ * Gets the text displayed in the editor's edit box.
+ */
+ GetText(): string;
+ /**
+ * Sends a callback to the server and generates the server-side Callback event, passing it the specified argument.
+ * @param parameter A string value that represents any information that needs to be sent to the server-side Callback event.
+ */
+ PerformCallback(parameter: string): void;
+ /**
+ * Adds a new item to the editor, specifying the item's display text, and returns the index of the added item.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ */
+ AddItem(texts: string[]): number;
+ /**
+ * Adds a new item to the end of the control's items collection.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ */
+ AddItem(texts: string[], value: Object): number;
+ /**
+ * Adds a new item to the end of the control's items collection.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ * @param imageUrl A string value specifying the path to the image displayed by the item.
+ */
+ AddItem(texts: string[], value: Object, imageUrl: string): number;
+ /**
+ * Adds a new item to the control's items collection at the specified index.
+ * @param index An integer value that represents the index position.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ * @param imageUrl A String value specifying the path to the image displayed by the item.
+ */
+ InsertItem(index: number, texts: string[], value: Object, imageUrl: string): void;
+ /**
+ * Adds a new item to the control's items collection at the specified index.
+ * @param index An integer value that represents the index position.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ */
+ InsertItem(index: number, texts: string[], value: Object): void;
+ /**
+ * Adds a new item to the control's items collection at the specified index.
+ * @param index An integer value that represents the index position.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ */
+ InsertItem(index: number, texts: string[]): void;
+ /**
+ * Determines whether the drop-down content is loaded; if not - loads the content.
+ * @param callbackFunction An object that is the JavaScript function that receives the callback data as a parameter. The function is performed after the combo box content is loaded.
+ */
+ EnsureDropDownLoaded(callbackFunction: Object): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxDateEdit control.
+ */
+interface ASPxClientDateEdit extends ASPxClientDropDownEditBase {
+ /**
+ * Fires after the selected date has been changed within the date editor.
+ */
+ DateChanged: ASPxClientEvent>;
+ /**
+ * Enables you to convert the value entered by an end user into the value that will be stored by the date editor.
+ */
+ ParseDate: ASPxClientEvent>;
+ /**
+ * Allows you to disable the calendar's days.
+ */
+ CalendarCustomDisabledDate: ASPxClientEvent>;
+ /**
+ * This event is not in effect for the ASPxClientDateEdit. Use the DateChanged event instead.
+ */
+ TextChanged: ASPxClientEvent>;
+ /**
+ * Returns the calendar of the date editor.
+ */
+ GetCalendar(): ASPxClientCalendar;
+ /**
+ * Returns the built-in time edit control.
+ */
+ GetTimeEdit(): ASPxClientTimeEdit;
+ /**
+ * Sets the date editor's value.
+ * @param date A date object specifying the value to assign to the date editor.
+ */
+ SetDate(date: Object): void;
+ /**
+ * Returns a date that is the date editor's value.
+ */
+ GetDate(): Object;
+ /**
+ * Returns the number of days in a range selected within a date edit.
+ */
+ GetRangeDayCount(): number;
+ /**
+ * Gets the minimum date of the editor.
+ */
+ GetMinDate(): Date;
+ /**
+ * Sets the minimum date of the editor.
+ * @param date A DateTime object representing the minimum date.
+ */
+ SetMinDate(date: Date): void;
+ /**
+ * Gets the maximum date of the editor.
+ */
+ GetMaxDate(): Date;
+ /**
+ * Sets the maximum date of the editor.
+ * @param date A DateTime object representing the maximum date.
+ */
+ SetMaxDate(date: Date): void;
+}
+/**
+ * Provides data for the ParseDate client-side event that parses a string entered into a date editor.
+ */
+interface ASPxClientParseDateEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the value entered into the date editor by an end user.
+ * Value: The string value entered into the date editor by an end user.
+ */
+ value: string;
+ /**
+ * Gets or sets the edit value of the date editor.
+ * Value: A date/time value representing the edit value of the date editor.
+ */
+ date: Date;
+ /**
+ * Gets or sets a value specifying whether the event was handled.
+ * Value: true if the event was handled and default processing should not occur; false if the event should be handled using default processing.
+ */
+ handled: boolean;
+}
+/**
+ * A method that will handle the client ParseDate event, that parses a date editor's value when entered.
+ */
+interface ASPxClientParseDateEventHandler {
+ /**
+ * A method that will handle the ParseDate event.
+ * @param source An object representing the event source. Identifies the button editor that raised the event.
+ * @param e An ASPxClientParseDateEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientParseDateEventArgs): void;
+}
+/**
+ * Represents a base for client editor objects realizing the dropdown editor functionality.
+ */
+interface ASPxClientDropDownEdit extends ASPxClientDropDownEditBase {
+ /**
+ * Obtains the key value associated with the text displayed within the editor's edit box.
+ */
+ GetKeyValue(): string;
+ /**
+ * Specifies the key value associated with the text displayed within the editor's edit box.
+ * @param keyValue A string specifying the key value associated with the editor's value (displayed text).
+ */
+ SetKeyValue(keyValue: string): void;
+}
+/**
+ * A method that will handle the client events involving a keyboard key being pressed or released.
+ */
+interface ASPxClientEditKeyEventHandler {
+ /**
+ * A method that will handle the client events concerning a keyboard key being pressed.
+ * @param source The event source. This parameter identifies the editor which raised the event.
+ * @param e An ASPxClientEditKeyEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientEditKeyEventArgs): void;
+}
+/**
+ * Provides data for the client events involved with a key being pressed or released.
+ */
+interface ASPxClientEditKeyEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets a DHTML event object that relates to the processed event.
+ * Value: An object that maintains DHTML event-specific information.
+ */
+ htmlEvent: Object;
+}
+/**
+ * A method that will handle client validation events.
+ */
+interface ASPxClientEditValidationEventHandler {
+ /**
+ * A method that will handle client validation events.
+ * @param source An object representing the event source. Identifies the button editor that raised the event.
+ * @param e An ASPxClientEditValidationEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientEditValidationEventArgs): void;
+}
+/**
+ * Provides data for the client events that are related to data validation (see Validate).
+ */
+interface ASPxClientEditValidationEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets or sets the error description.
+ * Value: A string representing the error description.
+ */
+ errorText: string;
+ /**
+ * Gets or sets a value specifying whether the validated value is valid.
+ * Value: true if the value is valid; otherwise, false.
+ */
+ isValid: boolean;
+ /**
+ * Gets or sets the editor's value being validated.
+ * Value: An object that represents the validated value.
+ */
+ value: string;
+}
+/**
+ * Represents the client ASPxFilterControl.
+ */
+interface ASPxClientFilterControl extends ASPxClientControl {
+ /**
+ * Occurs after a new filter expression has been applied.
+ */
+ Applied: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientFilterControl.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Returns the filter expression.
+ */
+ GetFilterExpression(): string;
+ /**
+ * Returns the applied filter expression.
+ */
+ GetAppliedFilterExpression(): string;
+ /**
+ * Returns the editor used to edit operand values for the specified filter column.
+ * @param editorIndex An integer value that identifies the filter column by its index within the collection.
+ */
+ GetEditor(editorIndex: number): ASPxClientEditBase;
+ /**
+ * Returns a value indicating whether the filter expression being currently composed on the client side is valid - all expression conditions are filled.
+ */
+ IsFilterExpressionValid(): boolean;
+ /**
+ * Applies a filter constructed by an end-user.
+ */
+ Apply(): void;
+ /**
+ * Resets the current filter expression to a previously applied filter expression.
+ */
+ Reset(): void;
+}
+/**
+ * A method that will handle the Applied event.
+ */
+interface ASPxClientFilterAppliedEventHandler {
+ /**
+ * A method that will handle the Applied event.
+ * @param source The event source.
+ * @param e An ASPxClientFilterAppliedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientFilterAppliedEventArgs): void;
+}
+/**
+ * Provides data for the Applied event.
+ */
+interface ASPxClientFilterAppliedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the filter expression currently being applied.
+ * Value: A string value that specifies the filter expression currently being applied.
+ */
+ filterExpression: string;
+}
+/**
+ * Represents a base for client editor objects that display a list of items.
+ */
+interface ASPxClientListEdit extends ASPxClientEdit {
+ /**
+ * Occurs on the client side after a different item in the list has been selected (focus has been moved from one item to another).
+ */
+ SelectedIndexChanged: ASPxClientEvent>;
+ /**
+ * Returns the list editor's selected item.
+ */
+ GetSelectedItem(): ASPxClientListEditItem;
+ /**
+ * Returns the index of the selected item within the list editor.
+ */
+ GetSelectedIndex(): number;
+ /**
+ * Sets the list editor's selected item.
+ * @param item An ASPxClientListEditItem object that specifies the item to select.
+ */
+ SetSelectedItem(item: ASPxClientListEditItem): void;
+ /**
+ * Sets the list editor's selected item specified by its index.
+ * @param index An integer value specifying the zero-based index of the item to select.
+ */
+ SetSelectedIndex(index: number): void;
+}
+/**
+ * Represents the client-side equivalent of the ListEditItem object.
+ */
+interface ASPxClientListEditItem {
+ /**
+ * Gets a value that indicates whether a list box item is selected.
+ * Value: true if a list box item is selected; otherwise, false.
+ */
+ selected: boolean;
+ /**
+ * Gets an editor to which the current item belongs.
+ * Value: An ASPxClientListEdit object that represents the item's owner editor.
+ */
+ listEditBase: ASPxClientListEdit;
+ /**
+ * Gets the item's index.
+ * Value: An integer value that represents the item's index within the corresponding editor's item collection.
+ */
+ index: number;
+ /**
+ * Gets the item's associated image.
+ * Value: A string value that represents the path to the image displayed by the item.
+ */
+ imageUrl: string;
+ /**
+ * Gets the item's display text.
+ * Value: A string value that represents the item's display text.
+ */
+ text: string;
+ /**
+ * Gets the item's associated value.
+ * Value: An object that represents the value associated with the item.
+ */
+ value: Object;
+ /**
+ * Returns the list item's value that corresponds to a column specified by its index.
+ * @param columnIndex An integer value that specifies the column's index within the editor's Columns collection.
+ */
+ GetColumnText(columnIndex: number): string;
+ /**
+ * Returns the list item's value that corresponds to a column specified by its field name.
+ * @param columnName A string value that specifies the column's field name defined via the FieldName property.
+ */
+ GetColumnText(columnName: string): string;
+}
+/**
+ * Represents the client-side equivalent of the ASPxListBox control.
+ */
+interface ASPxClientListBox extends ASPxClientListEdit {
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any server error occurs during server-side processing of a callback sent by the ASPxClientListBox.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Occurs on the client side when an end-user presses a key while the editor has focus.
+ */
+ KeyDown: ASPxClientEvent>;
+ /**
+ * Occurs on the client side when an end-user presses and releases a key while the editor has focus.
+ */
+ KeyPress: ASPxClientEvent>;
+ /**
+ * Occurs on the client side when an end-user releases a pressed key while the editor has focus.
+ */
+ KeyUp: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a different item in the list box has been selected (focus has been moved from one item to another).
+ */
+ SelectedIndexChanged: ASPxClientEvent>;
+ /**
+ * Occurs on the client when the editor's item is double clicked.
+ */
+ ItemDoubleClick: ASPxClientEvent>;
+ /**
+ * Gets the number of items contained in the editor's item collection.
+ */
+ GetItemCount(): number;
+ /**
+ * Returns an item specified by its index within the list box editor's item collection.
+ * @param index An integer value specifying the zero-based index of the item to search for.
+ */
+ GetItem(index: number): ASPxClientListEditItem;
+ /**
+ * Returns an array of the list editor's selected items indices.
+ */
+ GetSelectedIndices(): number[];
+ /**
+ * Returns an array of the list editor's selected items values.
+ */
+ GetSelectedValues(): Object[];
+ /**
+ * Returns an array of the list editor's selected items.
+ */
+ GetSelectedItems(): ASPxClientListEditItem[];
+ /**
+ * Selects all list box items.
+ */
+ SelectAll(): void;
+ /**
+ * Unselects all list box items.
+ */
+ UnselectAll(): void;
+ /**
+ * Selects the items with the specified indices within a list box.
+ * @param indices An array of integer values that represent the items indices.
+ */
+ SelectIndices(indices: number[]): void;
+ /**
+ * Unselects an array of the list box items with the specified indices.
+ * @param indices An array of integer values that represent the indices.
+ */
+ UnselectIndices(indices: number[]): void;
+ /**
+ * Selects the specified items within a list box.
+ * @param items An array of ASPxClientListEditItem objects that represent the items.
+ */
+ SelectItems(items: ASPxClientListEditItem[]): void;
+ /**
+ * Unselects an array of the specified list box items.
+ * @param items An array of ASPxClientListEditItem objects that represent the items.
+ */
+ UnselectItems(items: ASPxClientListEditItem[]): void;
+ /**
+ * Select the items with the specified values within a list box.
+ * @param values An array of Object[] objects that represent the item's values.
+ */
+ SelectValues(values: Object[]): void;
+ /**
+ * Unselects an array of the list box items with the specified values.
+ * @param values An array of Object[] objects that represent the values.
+ */
+ UnselectValues(values: Object[]): void;
+ /**
+ * Scrolls the editor's item list, so that the specified item becomes visible.
+ * @param index An integer value that specifies the item's index within the editor's client item list.
+ */
+ MakeItemVisible(index: number): void;
+ /**
+ * Initializes the ASPxClientListBox client object when its parent container becomes visible dynamically, on the client side.
+ */
+ InitOnContainerMadeVisible(): void;
+ /**
+ * Adds a new item to the editor, specifying the item's display text, and returns the index of the added item.
+ * @param text A string value specifying the item's display text.
+ */
+ AddItem(text: string): number;
+ /**
+ * Adds a new item to the editor, specifying the item's display text and associated value, and returns the index of the added item.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ */
+ AddItem(text: string, value: Object): number;
+ /**
+ * Adds a new item to the editor, specifying the item's display text, associated value and displayed image, and returns the index of the added item.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ * @param imageUrl A string value specifying the path to the image displayed by the item.
+ */
+ AddItem(text: string, value: Object, imageUrl: string): number;
+ /**
+ * Inserts a new item specified by its display text, associated value and displayed image into the editor's item collection, at the position specified.
+ * @param index An integer value representing the zero-based index of the position where the item should be inserted.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ * @param imageUrl A string value specifying the path to the image displayed by the item.
+ */
+ InsertItem(index: number, text: string, value: Object, imageUrl: string): void;
+ /**
+ * Inserts a new item specified by its display text and associated value into the editor's item collection, at the position specified.
+ * @param index An integer value representing the zero-based index of the position where the item should be inserted.
+ * @param text A string value specifying the item's display text.
+ * @param value An object specifying the value associated with the item.
+ */
+ InsertItem(index: number, text: string, value: Object): void;
+ /**
+ * Inserts a new item specified by its display text into the editor's item collection, at the position specified.
+ * @param index An integer value representing the zero-based index of the position where the item should be inserted.
+ * @param text A string value specifying the item's display text.
+ */
+ InsertItem(index: number, text: string): void;
+ /**
+ * Prevents the client list box editor from being rendered until the EndUpdate method is called.
+ */
+ BeginUpdate(): void;
+ /**
+ * Re-enables editor render operations after a call to the BeginUpdate method, and forces an immediate re-rendering.
+ */
+ EndUpdate(): void;
+ /**
+ * Removes all items from the client list box editor.
+ */
+ ClearItems(): void;
+ /**
+ * Removes an item specified by its index from the client list editor.
+ * @param index An integer value representing the index of the list item to be removed.
+ */
+ RemoveItem(index: number): void;
+ /**
+ * Returns a list box item by its text.
+ * @param text A string that specifies the item's text.
+ */
+ FindItemByText(text: string): ASPxClientListEditItem;
+ /**
+ * Returns a list box item by its value.
+ * @param value An object that specifies the item's value.
+ */
+ FindItemByValue(value: Object): ASPxClientListEditItem;
+ /**
+ * Sends a callback to the server, and generates the server-side Callback event, passing it the specified argument.
+ * @param parameter A string value that represents any information that needs to be sent to the server-side Callback event.
+ */
+ PerformCallback(parameter: string): void;
+ /**
+ * Adds a new item to the end of the editor's items collection, specifying the item's display text, and returns the index of the added item.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ */
+ AddItem(texts: string[]): number;
+ /**
+ * Adds a new item to the end of the control's items collection.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ */
+ AddItem(texts: string[], value: Object): number;
+ /**
+ * Adds a new item to the end of the editor's items collection, specifying the item's display text, associated value and displayed image, and returns the index of the added item.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ * @param imageUrl A String value specifying the path to the image displayed by the item.
+ */
+ AddItem(texts: string[], value: Object, imageUrl: string): number;
+ /**
+ * Adds a new item to the control's items collection at the specified index.
+ * @param index An integer value that represents the index position.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ * @param imageUrl A String value specifying the path to the image displayed by the item.
+ */
+ InsertItem(index: number, texts: string[], value: Object, imageUrl: string): void;
+ /**
+ * Adds a new item to the control's items collection at the specified index.
+ * @param index An integer value that represents the index position.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ * @param value An object that represents the item's associated value.
+ */
+ InsertItem(index: number, texts: string[], value: Object): void;
+ /**
+ * Adds a new item to the control's items collection at the specified index.
+ * @param index An integer value that represents the index position.
+ * @param texts An array of strings that specifies the item's display text. Array element positions relate to the positions of the corresponding columns within the editor's Columns collection.
+ */
+ InsertItem(index: number, texts: string[]): void;
+}
+/**
+ * Serves as the base type for the ASPxClientRadioButtonList objects.
+ */
+interface ASPxClientCheckListBase extends ASPxClientListEdit {
+ /**
+ * Gets the number of items contained in the editor's item collection.
+ */
+ GetItemCount(): number;
+ /**
+ * Returns the editor's item specified by its index.
+ * @param index An integer value specifying the zero-based index of the item to be retrieved.
+ */
+ GetItem(index: number): ASPxClientListEditItem;
+}
+/**
+ * Represents the client-side equivalent of the ASPxRadioButtonList control.
+ */
+interface ASPxClientRadioButtonList extends ASPxClientCheckListBase {
+}
+/**
+ * A client-side equivalent of the ASPxCheckBoxList object.
+ */
+interface ASPxClientCheckBoxList extends ASPxClientCheckListBase {
+ /**
+ * Occurs on the client side after a different item in the check box list has been selected (focus has been moved from one item to another).
+ */
+ SelectedIndexChanged: ASPxClientEvent>;
+ /**
+ * Returns an array of the check box list editor's selected items indices.
+ */
+ GetSelectedIndices(): number[];
+ /**
+ * Returns an array of the check box list editor's selected items values.
+ */
+ GetSelectedValues(): Object[];
+ /**
+ * Returns an array of the check box list editor's selected items.
+ */
+ GetSelectedItems(): ASPxClientListEditItem[];
+ /**
+ * Selects all check box list items.
+ */
+ SelectAll(): void;
+ /**
+ * Unselects all check box list items.
+ */
+ UnselectAll(): void;
+ /**
+ * Selects items with the specified indices within a check box list.
+ * @param indices An array of integer values that are the item indices.
+ */
+ SelectIndices(indices: number[]): void;
+ /**
+ * Selects the specified items within a check box list.
+ * @param items An array of ASPxClientListEditItem objects that are the items.
+ */
+ SelectItems(items: ASPxClientListEditItem[]): void;
+ /**
+ * Selects items with the specified values within a check box list.
+ * @param values An array of Object[] objects that are the item values.
+ */
+ SelectValues(values: Object[]): void;
+ /**
+ * Unselects items with the specified indices within a check box list.
+ * @param indices An array of integer values that are the item indices.
+ */
+ UnselectIndices(indices: number[]): void;
+ /**
+ * Unselects the specified items within a check box list.
+ * @param items An array of ASPxClientListEditItem objects that are the items.
+ */
+ UnselectItems(items: ASPxClientListEditItem[]): void;
+ /**
+ * Unselects items with the specified values within a check box list.
+ * @param values An array of Object[] objects that are the item values.
+ */
+ UnselectValues(values: Object[]): void;
+}
+/**
+ * A method that will handle the SelectedIndexChanged event.
+ */
+interface ASPxClientListEditItemSelectedChangedEventHandler {
+ /**
+ * A method that will handle the SelectedIndexChanged event.
+ * @param source The event source.
+ * @param e An ASPxClientListEditItemSelectedChangedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientListEditItemSelectedChangedEventArgs): void;
+}
+/**
+ * Provides data for the SelectedIndexChanged event.
+ */
+interface ASPxClientListEditItemSelectedChangedEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the index of the item related to the event.
+ * Value: An integer value that represents the item's index within the corresponding editor's item collection.
+ */
+ index: number;
+ /**
+ * Gets whether the item has been selected.
+ * Value: true if the item is selected; otherwise, false.
+ */
+ isSelected: boolean;
+}
+/**
+ * Represents a client-side equivalent of the ASPxProgressBar control.
+ */
+interface ASPxClientProgressBar extends ASPxClientEditBase {
+ /**
+ * Sets the position of the operation's progress.
+ * @param position An integer value specifying the progress position.
+ */
+ SetPosition(position: number): void;
+ /**
+ * Gets the position of the operation's progress.
+ */
+ GetPosition(): number;
+ /**
+ * Sets the pattern used to format the displayed text for the progress bar.
+ * @param text A value that is the format pattern.
+ */
+ SetCustomDisplayFormat(text: string): void;
+ /**
+ * Returns the text displayed within the progress bar.
+ */
+ GetDisplayText(): string;
+ /**
+ * Sets the percentage representation of the progress position.
+ */
+ GetPercent(): number;
+ /**
+ * Sets the minimum range value of the progress bar.
+ * @param min An integer value specifying the minimum value of the progress bar range.
+ */
+ SetMinimum(min: number): void;
+ /**
+ * Sets the maximum range value of the progress bar.
+ * @param max An integer value specifying the maximum value of the progress bar range.
+ */
+ SetMaximum(max: number): void;
+ /**
+ * Gets the minimum range value of the progress bar.
+ */
+ GetMinimum(): number;
+ /**
+ * Gets the maximum range value of the progress bar.
+ */
+ GetMaximum(): number;
+ /**
+ * Sets the minimum and maximum range values of the progress bar.
+ * @param minValue An integer value specifying the minimum value of the progress bar range.
+ * @param maxValue An integer value specifying the maximum value of the progress bar range.
+ */
+ SetMinMaxValues(minValue: number, maxValue: number): void;
+}
+/**
+ * Represents a base class for the ASPxClientSpinEdit object.
+ */
+interface ASPxClientSpinEditBase extends ASPxClientButtonEditBase {
+ /**
+ * This event is not in effect for the ASPxClientSpinEditBase. Use the ASPxClientTimeEdit.
+ */
+ TextChanged: ASPxClientEvent>;
+}
+/**
+ * Represents the client-side equivalent of the ASPxSpinEdit control.
+ */
+interface ASPxClientSpinEdit extends ASPxClientSpinEditBase {
+ /**
+ * Occurs on the client side when the editor's value is altered in any way.
+ */
+ NumberChanged: ASPxClientEvent>;
+ /**
+ * Specifies the value of the spin edit control on the client side.
+ * @param number A Decimal value specifying the control value.
+ */
+ SetValue(number: number): void;
+ /**
+ * Sets the spin editor's value.
+ * @param number A decimal number specifying the value to assign to the spin editor.
+ */
+ SetNumber(number: number): void;
+ /**
+ * Gets a number which represents the spin editor's value.
+ */
+ GetNumber(): number;
+ /**
+ * Returns the text displayed within the editor.
+ */
+ GetText(): string;
+ /**
+ * Sets the minimum value of the editor.
+ * @param value A decimal value specifying the minimum value of the editor.
+ */
+ SetMinValue(value: number): void;
+ /**
+ * Gets the minimum value of the editor.
+ */
+ GetMinValue(): number;
+ /**
+ * Sets the maximum value of the editor.
+ * @param value A decimal value specifying the maximum value of the editor.
+ */
+ SetMaxValue(value: number): void;
+ /**
+ * Gets the maximum value of the editor.
+ */
+ GetMaxValue(): number;
+ /**
+ * Changes the editor's value.
+ * @param value An object representing the data to be assigned to the editor's edit value.
+ */
+ SetValue(value: Object): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxTimeEdit control.
+ */
+interface ASPxClientTimeEdit extends ASPxClientSpinEditBase {
+ /**
+ * Fires after the selected date has been changed within the time editor.
+ */
+ DateChanged: ASPxClientEvent>;
+ /**
+ * Sets the time editor's value.
+ * @param date A date-time object specifying the value to assign to the time editor.
+ */
+ SetDate(date: Object): void;
+ /**
+ * Returns a date that is the time editor's value.
+ */
+ GetDate(): Object;
+}
+/**
+ * Represents a base for client-side static editors whose values cannot be visually changed by end users.
+ */
+interface ASPxClientStaticEdit extends ASPxClientEditBase {
+ /**
+ * Occurs on the client side after an end-user clicks within a static editor.
+ */
+ Click: ASPxClientEvent>;
+}
+/**
+ * A method that will handle client-side events which concern clicking within editors.
+ */
+interface ASPxClientEditEventHandler {
+ /**
+ * A method that will handle client-side events which concern clicking within editors.
+ * @param source An object representing the event source. Identifies the editor that raised the event.
+ * @param e An ASPxClientEditClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientEditClickEventArgs): void;
+}
+/**
+ * Provides data for the client-side events which concern clicking within editors.
+ */
+interface ASPxClientEditClickEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the HTML element related to the event.
+ * Value: An object that represents the clicked HTML element.
+ */
+ htmlElement: Object;
+ /**
+ * Gets a DHTML event object that relates to the processed event.
+ * Value: An object that maintains DHTML event-specific information.
+ */
+ htmlEvent: Object;
+}
+/**
+ * Represents the client-side equivalent of the ASPxHyperLink control.
+ */
+interface ASPxClientHyperLink extends ASPxClientStaticEdit {
+ /**
+ * Gets an URL which defines the navigation location for the editor's hyperlink.
+ */
+ GetNavigateUrl(): string;
+ /**
+ * Specifies an URL which defines the navigation location for the editor's hyperlink.
+ * @param url A string value which specifies an URL to where the client web browser will navigate when a hyperlink in the editor is clicked.
+ */
+ SetNavigateUrl(url: string): void;
+ /**
+ * Gets the text caption displayed for the hyperlink in the hyperlink editor.
+ */
+ GetText(): string;
+ /**
+ * Specifies the text caption displayed for the hyperlink in the hyperlink editor.
+ * @param text A string value specifying the text caption for the hyperlink in the editor.
+ */
+ SetText(text: string): void;
+}
+/**
+ * Represents a base for client-side editors which are capable of displaying images.
+ */
+interface ASPxClientImageBase extends ASPxClientStaticEdit {
+ /**
+ * Sets the size of the image displayed within the image editor.
+ * @param width An integer value that specifies the image's width.
+ * @param height An integer value that specifies the image's height.
+ */
+ SetSize(width: number, height: number): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxImage control.
+ */
+interface ASPxClientImage extends ASPxClientImageBase {
+ /**
+ * Returns the URL pointing to the image displayed within the image editor.
+ */
+ GetImageUrl(): string;
+ /**
+ * Sets the URL which points to the image displayed within the image editor.
+ * @param url A string value specifying the URL to the image displayed within the editor.
+ */
+ SetImageUrl(url: string): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxLabel control.
+ */
+interface ASPxClientLabel extends ASPxClientStaticEdit {
+ /**
+ * Returns the text displayed within the editor.
+ */
+ GetText(): string;
+ /**
+ * Sets the text to be displayed within the editor.
+ * @param text A string value specifying the text to be displayed within the editor.
+ */
+ SetText(text: string): void;
+}
+/**
+ * Represents the client-side equivalent of the ASPxTextBox control.
+ */
+interface ASPxClientTextBox extends ASPxClientTextBoxBase {
+}
+/**
+ * Represents the client-side equivalent of the ASPxMemo control.
+ */
+interface ASPxClientMemo extends ASPxClientTextEdit {
+}
+/**
+ * Represents the client-side equivalent of the ASPxButtonEdit control.
+ */
+interface ASPxClientButtonEdit extends ASPxClientButtonEditBase {
+}
+/**
+ * A method that will handle the ButtonClick event.
+ */
+interface ASPxClientButtonEditClickEventHandler {
+ /**
+ * A method that will handle the ButtonClick event.
+ * @param source An object representing the event source. Identifies the button editor that raised the event.
+ * @param e An ASPxClientButtonEditClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientButtonEditClickEventArgs): void;
+}
+/**
+ * Provides data for the ButtonClick event.
+ */
+interface ASPxClientButtonEditClickEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the index of the clicked button.
+ * Value: An integer value representing the index of the clicked button within the editor's Buttons collection.
+ */
+ buttonIndex: number;
+}
+/**
+ * A client-side equivalent of the ASPxTokenBox object.
+ */
+interface ASPxClientTokenBox extends ASPxClientComboBox {
+ /**
+ * Fires on the client side after the token collection has been changed.
+ */
+ TokensChanged: ASPxClientEvent>;
+ /**
+ * Adds a new token with the specified text to the end of the control's token collection.
+ * @param text A string value specifying the token's text.
+ */
+ AddToken(text: string): void;
+ /**
+ * Removes a token specified by its text from the client token box.
+ * @param text A string value that is the text of the token to be removed.
+ */
+ RemoveTokenByText(text: string): void;
+ /**
+ * Removes a token specified by its index from the client token box.
+ * @param index An integer value that is the index of the token to be removed.
+ */
+ RemoveToken(index: number): void;
+ /**
+ * Returns an HTML span element that corresponds to the specified token.
+ * @param index An integer value that is the token index.
+ */
+ GetTokenHtmlElement(index: number): Object;
+ /**
+ * Returns an HTML span element that corresponds to the specified token's text.
+ * @param index An integer value that is the token index.
+ */
+ GetTokenTextHtmlElement(index: number): Object;
+ /**
+ * Returns an HTML span element that corresponds to the specified token's remove button.
+ * @param index An integer value that is the token index.
+ */
+ GetTokenRemoveButtonHtmlElement(index: number): Object;
+ /**
+ * Returns a collection of tokens.
+ */
+ GetTokenCollection(): string[];
+ /**
+ * Sets a collection of tokens.
+ * @param collection A object that is the collection of tokens.
+ */
+ SetTokenCollection(collection: string[]): void;
+ /**
+ * Removes all tokens contained in the token box.
+ */
+ ClearTokenCollection(): void;
+ /**
+ * Returns the index of a token specified by its text.
+ * @param text A string value that specifies the text of the token.
+ */
+ GetTokenIndexByText(text: string): number;
+ /**
+ * Gets the token texts, separated with a sign, specified by the TextSeparator property.
+ */
+ GetText(): string;
+ /**
+ * Sets the token texts, separated with a sign, specified by the TextSeparator property.
+ * @param text A string value that is the token texts separated with a text separator.
+ */
+ SetText(text: string): void;
+ /**
+ * Gets the editor value.
+ */
+ GetValue(): string;
+ /**
+ * Sets the editor value.
+ * @param value A string that is the editor value.
+ */
+ SetValue(value: string): void;
+ /**
+ * Returns a value that indicates if the specified token (string) is a custom token.
+ * @param text A string value that is a token.
+ * @param caseSensitive true, if tokens are case sensitive; otherwise, false.
+ */
+ IsCustomToken(text: string, caseSensitive: boolean): boolean;
+ /**
+ * Changes the editor's value.
+ * @param value An object representing the data to be assigned to the editor's edit value.
+ */
+ SetValue(value: Object): void;
+}
+/**
+ * The client-side equivalent of the ASPxTrackBar control.
+ */
+interface ASPxClientTrackBar extends ASPxClientEdit {
+ /**
+ * Fires on the client side before a track bar position is changed and allows you to cancel the action.
+ */
+ PositionChanging: ASPxClientEvent>;
+ /**
+ * Fires after the editor's position has been changed.
+ */
+ PositionChanged: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user moves a cursor while the drag handle is held down.
+ */
+ Track: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user presses a drag handle and moves it.
+ */
+ TrackStart: ASPxClientEvent>;
+ /**
+ * Occurs on the client-side when an end-user releases a drag handle after moving it.
+ */
+ TrackEnd: ASPxClientEvent>;
+ /**
+ * Returns a track bar item index by the item's value.
+ * @param value An object that specifies the item's value.
+ */
+ GetItemIndexByValue(value: Object): number;
+ /**
+ * Returns a track bar item's associated value.
+ * @param index An integer value that specifies the required item's index.
+ */
+ GetItemValue(index: number): Object;
+ /**
+ * Returns a track bar item text.
+ * @param index An integer value that specifies the required item's index.
+ */
+ GetItemText(index: number): string;
+ /**
+ * Returns a track bar item's tooltip text.
+ * @param index An integer value that specifies the required item's index.
+ */
+ GetItemToolTip(index: number): string;
+ /**
+ * Returns the number of the track bar items that are maintained by the item collection.
+ */
+ GetItemCount(): number;
+ /**
+ * Specifies the secondary drag handle position.
+ * @param position A value that specifies the position.
+ */
+ SetPositionEnd(position: number): void;
+ /**
+ * Specifies the main drag handle position.
+ * @param position A value that specifies the position.
+ */
+ SetPositionStart(position: number): void;
+ /**
+ * Returns the secondary drag handle position.
+ */
+ GetPositionEnd(): number;
+ /**
+ * Returns the main drag handle position.
+ */
+ GetPositionStart(): number;
+ /**
+ * Gets a drag handle position.
+ */
+ GetPosition(): number;
+ /**
+ * Specifies a drag handle position.
+ * @param position A value that specifies the position.
+ */
+ SetPosition(position: number): void;
+}
+/**
+ * A method that will handle the client PositionChanging event.
+ */
+interface ASPxClientTrackBarPositionChangingEventHandler {
+ /**
+ * A method that will handle the PositionChanging event.
+ * @param source The event source. Identifies the ASPxTrackBar control that raised the event.
+ * @param e A ASPxClientTrackBarPositionChangingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientTrackBarPositionChangingEventArgs): void;
+}
+/**
+ * Provides data for the PositionChanging event.
+ */
+interface ASPxClientTrackBarPositionChangingEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets or sets a value indicating whether the action which raised the event should be canceled.
+ * Value: true if the action that raised the event should be canceled; otherwise, false.
+ */
+ cancel: boolean;
+ /**
+ * Gets the current drag handle position.
+ * Value: A value that is the drag handle position.
+ */
+ currentPosition: number;
+ /**
+ * Gets the current secondary drag handle position.
+ * Value: A value that is the drag handle position.
+ */
+ currentPositionEnd: number;
+ /**
+ * Gets the current main drag handle position.
+ * Value: A value that is the drag handle position.
+ */
+ currentPositionStart: number;
+ /**
+ * Gets a position where the drag handle is being moved.
+ * Value: A value that is the drag handle position.
+ */
+ newPosition: number;
+ /**
+ * Gets a position where the secondary drag handle is being moved.
+ * Value: A value that is the drag handle position.
+ */
+ newPositionEnd: number;
+ /**
+ * Gets a position where the main drag handle is being moved.
+ * Value: A value that is the drag handle position.
+ */
+ newPositionStart: number;
+}
+/**
+ * Represents the client-side equivalent of the ASPxValidationSummary control.
+ */
+interface ASPxClientValidationSummary extends ASPxClientControl {
+ /**
+ * Occurs on the client side when the validation summary's visibility is changed.
+ */
+ VisibilityChanged: ASPxClientEvent>;
+}
+/**
+ * A method that will handle the VisibilityChanged event.
+ */
+interface ASPxClientValidationSummaryVisibilityChangedEventHandler {
+ /**
+ * A method that will handle the VisibilityChanged client event.
+ * @param source An object representing the event source.
+ * @param e A ASPxClientValidationSummaryVisibilityChangedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientValidationSummaryVisibilityChangedEventArgs): void;
+}
+/**
+ * Provides data for the VisibilityChanged event.
+ */
+interface ASPxClientValidationSummaryVisibilityChangedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets or sets whether the editor is visible on the client.
+ * Value: true if the editor is visible; otherwise, false.
+ */
+ visible: boolean;
+}
+/**
+ * Represents the client ASPxGaugeControl.
+ */
+interface ASPxClientGaugeControl extends ASPxClientControl {
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires when errors have occurred during callback processing.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param parameter A string value that represents any information that needs to be sent to the server-side CustomCallback event.
+ */
+ PerformCallback(parameter: string): void;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param parameter A string value that represents any information that needs to be sent to the server-side CustomCallback event.
+ * @param onSuccess A delegate method that will be called if the callback is successful.
+ */
+ PerformCallback(parameter: string, onSuccess: Function): void;
+}
+/**
+ * Represents the client ASPxGridView.
+ */
+interface ASPxClientGridBase extends ASPxClientControl {
+}
+/**
+ * Serves as a base object implementing the client column functionality.
+ */
+interface ASPxClientGridColumnBase {
+}
+/**
+ * The client-side equivalent of the ASPxGridLookup control.
+ */
+interface ASPxClientGridLookup extends ASPxClientDropDownEditBase {
+ /**
+ * Fires on the client when a data row is clicked within the built-in dropdown grid.
+ */
+ RowClick: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client side after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Returns a client object representing the built-in dropdown grid.
+ */
+ GetGridView(): ASPxClientGridView;
+ /**
+ * Confirms the current selection made by an end-user within the editor's dropdown grid.
+ */
+ ConfirmCurrentSelection(): void;
+ /**
+ * Cancels the current selection made by an end-user within the editor's dropdown grid and rolls back to the last confirmed selection. The selection can be confirmed by either pressing the Enter key or calling the ConfirmCurrentSelection method.
+ */
+ RollbackToLastConfirmedSelection(): void;
+}
+/**
+ * Represents the client ASPxCardView.
+ */
+interface ASPxClientCardView extends ASPxClientGridBase {
+ /**
+ * Provides access to the batch editing client API.
+ * Value: A object that exposes the batch editing client API methods.
+ */
+ batchEditApi: ASPxClientCardViewBatchEditApi;
+ /**
+ * Occurs when a custom command button has been clicked.
+ */
+ CustomButtonClick: ASPxClientEvent>;
+ /**
+ * Fires after the selection has been changed.
+ */
+ SelectionChanged: ASPxClientEvent>;
+ /**
+ * Enables you to prevent columns from being sorted.
+ */
+ ColumnSorting: ASPxClientEvent>;
+ /**
+ * Occurs when a grid switches to batch edit mode.
+ */
+ BatchEditStartEditing: ASPxClientEvent>;
+ /**
+ * Occurs when a grid leaves batch edit mode.
+ */
+ BatchEditEndEditing: ASPxClientEvent>;
+ /**
+ * Enables you to prevent a batch edit confirmation message from being displayed.
+ */
+ BatchEditConfirmShowing: ASPxClientEvent>;
+ /**
+ * Enables you to provide navigation for editors contained in a templated cell in Batch Edit mode.
+ */
+ BatchEditTemplateCellFocused: ASPxClientEvent>;
+ /**
+ * Enables you to specify whether card data is valid and provide an error text.
+ */
+ BatchEditCardValidating: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before data changes are saved in batch edit mode.
+ */
+ BatchEditChangesSaving: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before data changes are canceled in batch edit mode.
+ */
+ BatchEditChangesCanceling: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before a card is inserted in batch edit mode.
+ */
+ BatchEditCardInserting: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before a card is deleted in batch edit mode.
+ */
+ BatchEditCardDeleting: ASPxClientEvent>;
+ /**
+ * Fires on the client when a card is clicked.
+ */
+ CardClick: ASPxClientEvent>;
+ /**
+ * Fires on the client when a card is double clicked.
+ */
+ CardDblClick: ASPxClientEvent>;
+ /**
+ * Fires in response to changing card focus.
+ */
+ FocusedCardChanged: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any unhandled server error occurs during server-side processing of a callback sent by the ASPxClientCardView.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Fires after the customization window has been closed.
+ */
+ CustomizationWindowCloseUp: ASPxClientEvent>;
+ /**
+ * Moves focus to the specified edit cell within the edited card.
+ * @param column An ASPxClientCardViewColumn object that represents the data column within the client grid.
+ */
+ FocusEditor(column: ASPxClientCardViewColumn): void;
+ /**
+ * Moves focus to the specified edit cell within the edited card.
+ * @param columnIndex An integer value that specifies the column's position within the columns collection.
+ */
+ FocusEditor(columnIndex: number): void;
+ /**
+ * Moves focus to the specified edit cell within the edited card.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ FocusEditor(columnFieldNameOrId: string): void;
+ /**
+ * Sets the value of the specified edit cell.
+ * @param column An ASPxClientCardViewColumn object that represents the data column within the client grid.
+ * @param value A string value that specifies the edit cell's new value.
+ */
+ SetEditValue(column: ASPxClientCardViewColumn, value: string): void;
+ /**
+ * Sets the value of the specified edit cell.
+ * @param columnIndex An integer value that identifies the data column within the grid's column collection.
+ * @param value A string value that specifies the edit cell's new value.
+ */
+ SetEditValue(columnIndex: number, value: string): void;
+ /**
+ * Sets the value of the specified edit cell.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param value A string value that specifies the edit cell's new value.
+ */
+ SetEditValue(columnFieldNameOrId: string, value: string): void;
+ /**
+ * Displays the Filter Control.
+ */
+ ShowFilterControl(): void;
+ /**
+ * Hides the Filter Control.
+ */
+ CloseFilterControl(): void;
+ /**
+ * Enables or disables the current filter.
+ * @param isFilterEnabled true to enable the current filter; otherwise, false.
+ */
+ SetFilterEnabled(isFilterEnabled: boolean): void;
+ /**
+ * Returns the current vertical scroll position of the grid's content.
+ */
+ GetVerticalScrollPosition(): number;
+ /**
+ * Specifies the vertical scroll position for the grid's content.
+ * @param position An integer value specifying the vertical scroll position.
+ */
+ SetVerticalScrollPosition(position: number): void;
+ /**
+ * Gets information about a focused cell.
+ */
+ GetFocusedCell(): ASPxClientCardViewCellInfo;
+ /**
+ * Focuses the specified cell.
+ * @param cardVisibleIndex An value that specifies the visible index of the card.
+ * @param columnIndex A zero-based index that identifies the column in the column collection (the column's Index property value).
+ */
+ SetFocusedCell(cardVisibleIndex: number, columnIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param column An ASPxClientCardViewColumn object that represents the data column.
+ */
+ SortBy(column: ASPxClientCardViewColumn): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ */
+ SortBy(columnIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ SortBy(columnFieldNameOrId: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param column An ASPxClientCardViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(column: ASPxClientCardViewColumn, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(columnIndex: number, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(columnFieldNameOrId: string, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param column An ASPxClientCardViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(column: ASPxClientCardViewColumn, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(columnIndex: number, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(columnFieldNameOrId: string, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data column's values, and places the column to the specified position among the sorted columns.
+ * @param column An ASPxClientCardViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex
+ */
+ SortBy(column: ASPxClientCardViewColumn, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values, and places the column to the specified position among the sorted columns.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based column's index among the sorted columns. -1 if data is not sorted by this column.
+ */
+ SortBy(columnIndex: number, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values, and places the column to the specified position among the sorted columns.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based column's index among the sorted columns. -1 if data is not sorted by this column.
+ */
+ SortBy(columnFieldNameOrId: string, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Hides the specified column.
+ * @param column An ASPxClientCardViewColumn object that represents the column to hide.
+ */
+ MoveColumn(column: ASPxClientCardViewColumn): void;
+ /**
+ * Hides the specified column.
+ * @param columnIndex An integer value that specifies the absolute index of the column to hide.
+ */
+ MoveColumn(columnIndex: number): void;
+ /**
+ * Hides the specified column.
+ * @param columnFieldNameOrId A string value that identifies the column to be hidden by the name of the data source field to which the column is bound, or by the column's name.
+ */
+ MoveColumn(columnFieldNameOrId: string): void;
+ /**
+ * Moves the specified column to the specified visual position within the ASPxCardView.
+ * @param column An ASPxClientCardViewColumn object that represents the column to move.
+ * @param moveToColumnVisibleIndex An integer value that specifies the column's position among the visible columns within the ASPxCardView.
+ */
+ MoveColumn(column: ASPxClientCardViewColumn, moveToColumnVisibleIndex: number): void;
+ /**
+ * Moves the specified column to the specified visual position within the ASPxCardView.
+ * @param columnIndex An integer value that specifies the absolute index of the column to move.
+ * @param moveToColumnVisibleIndex An integer value that specifies the column's position among the visible columns within the grid.
+ */
+ MoveColumn(columnIndex: number, moveToColumnVisibleIndex: number): void;
+ /**
+ * Moves the specified column to the specified visual position within the ASPxCardView.
+ * @param columnFieldNameOrId A string value that identifies the column to be moved by the name of the data source field to which the column is bound or by the column's name.
+ * @param moveToColumnVisibleIndex An integer value that specifies the column's position among the visible columns within the ASPxCardView.
+ */
+ MoveColumn(columnFieldNameOrId: string, moveToColumnVisibleIndex: number): void;
+ /**
+ * Moves the specified column to the specified visual position within the ASPxCardView.
+ * @param column An ASPxClientCardViewColumn object that represents the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the CardView.
+ * @param moveBefore true, to move the column before the target column; otherwise, false.
+ */
+ MoveColumn(column: ASPxClientCardViewColumn, moveToColumnVisibleIndex: number, moveBefore: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the ASPxCardView.
+ * @param columnIndex An integer value that specifies the absolute index of the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ */
+ MoveColumn(columnIndex: number, moveToColumnVisibleIndex: number, moveBefore: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the ASPxCardView.
+ * @param columnFieldNameOrId A string value that identifies the column to be moved by the name of the data source field to which the column is bound or by the column's name.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ */
+ MoveColumn(columnFieldNameOrId: string, moveToColumnVisibleIndex: number, moveBefore: boolean): void;
+ /**
+ * Returns the key value of the specified card.
+ * @param visibleIndex An integer value that specifies the card's visible index.
+ */
+ GetCardKey(visibleIndex: number): string;
+ /**
+ * Switches the CardView to edit mode.
+ * @param visibleIndex A zero-based integer that identifies a card to be edited.
+ */
+ StartEditCard(visibleIndex: number): void;
+ /**
+ * Switches the ASPxCardView to edit mode.
+ * @param key An object that uniquely identifies a card to be edited.
+ */
+ StartEditCardByKey(key: Object): void;
+ /**
+ * Indicates whether or not a new card is being edited.
+ */
+ IsNewCardEditing(): boolean;
+ /**
+ * Adds a new record.
+ */
+ AddNewCard(): void;
+ /**
+ * Deletes the specified card.
+ * @param visibleIndex An integer value that identifies the card.
+ */
+ DeleteCard(visibleIndex: number): void;
+ /**
+ * Deletes a card with the specified key value.
+ * @param key An object that uniquely identifies the card.
+ */
+ DeleteCardByKey(key: Object): void;
+ /**
+ * Returns the focused card's index.
+ */
+ GetFocusedCardIndex(): number;
+ /**
+ * Moves focus to the specified card.
+ * @param visibleIndex An integer value that specifies the focused card's index.
+ */
+ SetFocusedCardIndex(visibleIndex: number): void;
+ /**
+ * Selects all the unselected cards within the CardView.
+ */
+ SelectCards(): void;
+ /**
+ * Selects the specified card displayed within the CardView.
+ * @param visibleIndex A zero-based integer value that specifies the card's visible index.
+ */
+ SelectCards(visibleIndex: number): void;
+ /**
+ * Selects the specified cards within the CardView.
+ * @param visibleIndices An array of zero-based indices that identify data cards within the grid.
+ */
+ SelectCards(visibleIndices: number[]): void;
+ /**
+ * Selects or deselects the specified cards within the CardView.
+ * @param visibleIndices An array of zero-based indices that identify data cards within the grid.
+ * @param selected true to select the specified cards; false to deselect the cards.
+ */
+ SelectCards(visibleIndices: number[], selected: boolean): void;
+ /**
+ * Selects or deselects the specified card within the GridView.
+ * @param visibleIndex An integer zero-based index that identifies the data card within the grid.
+ * @param selected true to select the specified card; false to deselect the card.
+ */
+ SelectCards(visibleIndex: number, selected?: boolean): void;
+ /**
+ * Selects or deselects the specified cards displayed within the CardView.
+ * @param keys An array of objects that uniquely identify the cards.
+ * @param selected true to select the specified cards; false to deselect the cards.
+ */
+ SelectCardsByKey(keys: Object[], selected?: boolean): void;
+ /**
+ * Selects or deselects the specified card displayed within the CardView.
+ * @param key An object that uniquely identifies the card.
+ * @param selected true to select the specified card; false to deselect the card.
+ */
+ SelectCardsByKey(key: Object, selected?: boolean): void;
+ /**
+ * Selects the specified cards displayed within the CardView.
+ * @param keys An array of objects that uniquely identify the cards.
+ */
+ SelectCardsByKey(keys: Object[]): void;
+ /**
+ * Selects a card displayed within the CardView by its key.
+ * @param key An object that uniquely identifies the card.
+ */
+ SelectCardsByKey(key: Object): void;
+ /**
+ * Deselects the specified cards displayed within the ASPxCardView.
+ * @param keys An array of objects that uniquely identify the cards.
+ */
+ UnselectCardsByKey(keys: Object[]): void;
+ /**
+ * Deselects the specified card displayed within the ASPxCardView.
+ * @param key An object that uniquely identifies the card.
+ */
+ UnselectCardsByKey(key: Object): void;
+ /**
+ * Deselects all the selected cards within the ASPxCardView.
+ */
+ UnselectCards(): void;
+ /**
+ * Deselects the specified cards (if selected) within the ASPxCardView.
+ * @param visibleIndices An array of zero-based indices that identify data cards within the grid.
+ */
+ UnselectCards(visibleIndices: number[]): void;
+ /**
+ * Deselects the specified cards (if selected) within the ASPxCardView.
+ * @param visibleIndex A zero-based integer value that specifies the card's visible index.
+ */
+ UnselectCards(visibleIndex: number): void;
+ /**
+ * Deselects all grid cards that match the filter criteria currently applied to the CardView.
+ */
+ UnselectFilteredCards(): void;
+ /**
+ * Selects the specified card displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the card's visible index.
+ */
+ SelectCardOnPage(visibleIndex: number): void;
+ /**
+ * Selects or deselects the specified card displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the card's visible index.
+ * @param selected true to select the specified card; false to deselect the card.
+ */
+ SelectCardOnPage(visibleIndex: number, selected?: boolean): void;
+ /**
+ * Deselects the specified cards (if selected) displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the card's visible index.
+ */
+ UnselectCardOnPage(visibleIndex: number): void;
+ /**
+ * Selects all unselected cards displayed on the current page.
+ */
+ SelectAllCardsOnPage(): void;
+ /**
+ * Allows you to select or deselect all cards displayed on the current page based on the parameter passed.
+ * @param selected true to select all unselected cards displayed on the current page; false to deselect all selected cards on the page.
+ */
+ SelectAllCardsOnPage(selected: boolean): void;
+ /**
+ * Deselects all selected cards displayed on the current page.
+ */
+ UnselectAllCardsOnPage(): void;
+ /**
+ * Returns the number of selected cards.
+ */
+ GetSelectedCardCount(): number;
+ /**
+ * Indicates whether or not the specified card is selected within the current page.
+ * @param visibleIndex An integer value that identifies the card by its visible index.
+ */
+ IsCardSelectedOnPage(visibleIndex: number): boolean;
+ /**
+ * Applies the specified search panel filter criterion to grid data.
+ * @param value A string value that specifies the filter criterion.
+ */
+ ApplySearchPanelFilter(value: string): void;
+ /**
+ * Applies the specified filter expression to the grid.
+ * @param filterExpression A string value that specifies the filter expression.
+ */
+ ApplyFilter(filterExpression: string): void;
+ /**
+ * Clears the filter expression applied to a client CardView.
+ */
+ ClearFilter(): void;
+ /**
+ * Gets the Popup Edit Form.
+ */
+ GetPopupEditForm(): ASPxClientPopupControl;
+ /**
+ * Sets input focus to the grid.
+ */
+ Focus(): void;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param args A string value that represents any information that needs to be sent to the server-side CustomCallback event.
+ */
+ PerformCallback(args: string): void;
+ /**
+ * Selects the specified page.
+ * @param pageIndex An integer value that specifies the active page's index.
+ */
+ GotoPage(pageIndex: number): void;
+ /**
+ * Gets the index of the page currently being selected.
+ */
+ GetPageIndex(): number;
+ /**
+ * Gets the number of pages to which the grid's data is divided.
+ */
+ GetPageCount(): number;
+ /**
+ * Activates the next page.
+ */
+ NextPage(): void;
+ /**
+ * Activates the previous page.
+ */
+ PrevPage(): void;
+ /**
+ * Returns the index of the first card displayed within the grid's active page.
+ */
+ GetTopVisibleIndex(): number;
+ /**
+ * Indicates whether the grid is in edit mode.
+ */
+ IsEditing(): boolean;
+ /**
+ * Saves all the changes made and switches the grid to browse mode.
+ */
+ UpdateEdit(): void;
+ /**
+ * Cancels all the changes made and switches the CardView to browse mode.
+ */
+ CancelEdit(): void;
+ /**
+ * Updates data displayed within the grid.
+ */
+ Refresh(): void;
+ /**
+ * Indicates whether the customization window is displayed.
+ */
+ IsCustomizationWindowVisible(): boolean;
+ /**
+ * Invokes the customization window.
+ */
+ ShowCustomizationWindow(): void;
+ /**
+ * Invokes the customization window and displays it over the specified HTML element.
+ * @param showAtElement An object that specifies the HTML element relative to whose position the customization window is invoked.
+ */
+ ShowCustomizationWindow(showAtElement?: Object): void;
+ /**
+ * Closes the customization window.
+ */
+ HideCustomizationWindow(): void;
+ /**
+ * Returns the number of columns within the client grid.
+ */
+ GetColumnCount(): number;
+ /**
+ * Returns the card values displayed within all selected cards.
+ * @param fieldNames The names of data source fields separated via a semicolon, whose values within the selected cards are returned.
+ * @param onCallback An ASPxClientCardViewValuesCallback object that represents the JavaScript function which receives the list of card values as a parameter.
+ */
+ GetSelectedFieldValues(fieldNames: string, onCallback: ASPxClientCardViewValuesCallback): void;
+ /**
+ * Returns key values of selected cards displayed within the current page.
+ */
+ GetSelectedKeysOnPage(): Object[];
+ /**
+ * Sends a callback to the server and generates the server-side CustomDataCallback event.
+ * @param args A string value that is any information that needs to be sent to the server-side CustomDataCallback event.
+ * @param onCallback An ASPxClientCardViewValuesCallback object that is the JavaScript function which receives the information on the client side.
+ */
+ GetValuesOnCustomCallback(args: string, onCallback: ASPxClientCardViewValuesCallback): void;
+ /**
+ * Returns the values of the specified data source fields within the specified card.
+ * @param visibleIndex An integer value that identifies the data card.
+ * @param fieldNames The names of data source fields separated via a semicolon, whose values within the specified card are returned.
+ * @param onCallback An ASPxClientCardViewValuesCallback object that represents the JavaScript function which receives the list of card values as a parameter.
+ */
+ GetCardValues(visibleIndex: number, fieldNames: string, onCallback: ASPxClientCardViewValuesCallback): void;
+ /**
+ * Returns the card values displayed within the current page.
+ * @param fieldNames The names of data source fields whose values are returned.
+ * @param onCallback An ASPxClientCardViewValuesCallback object that represents the JavaScript function which receives the list of card values as a parameter.
+ */
+ GetPageCardValues(fieldNames: string, onCallback: ASPxClientCardViewValuesCallback): void;
+ /**
+ * Returns the number of cards actually displayed within the active page.
+ */
+ GetVisibleCardsOnPage(): number;
+ /**
+ * Returns the client column that resides at the specified position within the column collection.
+ * @param columnIndex A zero-based index that identifies the column within the column collection (the column's Index property value).
+ */
+ GetColumn(columnIndex: number): ASPxClientCardViewColumn;
+ /**
+ * Returns the column with the specified unique identifier.
+ * @param columnId A string value that specifies the column's unique identifier (the column's Name property value).
+ */
+ GetColumnById(columnId: string): ASPxClientCardViewColumn;
+ /**
+ * Returns the client column which is bound to the specified data source field.
+ * @param columnFieldName A string value that specifies the name of the data source field to which the column is bound (the column's FieldName property value).
+ */
+ GetColumnByField(columnFieldName: string): ASPxClientCardViewColumn;
+ /**
+ * Returns the editor used to edit the specified column's values.
+ * @param column An ASPxClientCardViewColumn object that specifies the required column within the client grid.
+ */
+ GetEditor(column: ASPxClientCardViewColumn): ASPxClientEdit;
+ /**
+ * Returns the editor used to edit the specified column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ */
+ GetEditor(columnIndex: number): ASPxClientEdit;
+ /**
+ * Returns the editor used to edit the specified column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ GetEditor(columnFieldNameOrId: string): ASPxClientEdit;
+ /**
+ * Returns the value of the specified edit cell.
+ * @param column An ASPxClientCardViewColumn object that represents the data column within the client grid.
+ */
+ GetEditValue(column: ASPxClientCardViewColumn): string;
+ /**
+ * Returns the value of the specified edit cell.
+ * @param columnIndex An integer value that identifies the data column within the grid's column collection.
+ */
+ GetEditValue(columnIndex: number): string;
+ /**
+ * Returns the value of the specified edit cell.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ GetEditValue(columnFieldNameOrId: string): string;
+}
+/**
+ * Represents a client column.
+ */
+interface ASPxClientCardViewColumn extends ASPxClientGridColumnBase {
+ /**
+ * Gets the name that uniquely identifies the column.
+ * Value: A string value assigned to the column's Name property.
+ */
+ name: string;
+ /**
+ * Gets the column's position within the collection.
+ * Value: An integer zero-bazed index that specifies the column's position within the collection.
+ */
+ index: number;
+ /**
+ * Gets the name of the database field assigned to the current column.
+ * Value: A string value that specifies the name of a data field.
+ */
+ fieldName: string;
+ /**
+ * Gets whether the column is visible.
+ * Value: true to display the column; otherwise, false.
+ */
+ visible: boolean;
+}
+/**
+ * Represents a JavaScript function which receives the list of card values when the client GetSelectedFieldValues method is called.
+ */
+interface ASPxClientCardViewValuesCallback {
+ /**
+ * Represents a JavaScript function which receives the list of card values when the client GetSelectedFieldValues method is called.
+ * @param result An object that represents the list of card values received from the server.
+ */
+ (result: Object): void;
+}
+/**
+ * A method that will handle the cancelable events of a client ASPxCardView column.
+ */
+interface ASPxClientCardViewColumnCancelEventHandler {
+ /**
+ * A method that will handle the cancelable events of a client ASPxCardView column.
+ * @param source The event source. This parameter identifies the ASPxClientCardView object that raised the event.
+ * @param e An ASPxClientCardViewColumnCancelEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewColumnCancelEventArgs): void;
+}
+/**
+ * Provides data for the cancelable events of a client ASPxCardView column.
+ */
+interface ASPxClientCardViewColumnCancelEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed client column.
+ * Value: An ASPxClientCardViewColumn object that represents the processed column.
+ */
+ column: ASPxClientCardViewColumn;
+}
+/**
+ * A method that will handle the CardClick event.
+ */
+interface ASPxClientCardViewCardClickEventHandler {
+ /**
+ * A method that will handle the CardClick event.
+ * @param source The event source. This parameter identifies the ASPxClientCardView object that raised the event.
+ * @param e An ASPxClientCardViewCardClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewCardClickEventArgs): void;
+}
+/**
+ * Provides data for the CardClick event.
+ */
+interface ASPxClientCardViewCardClickEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed card's visible index.
+ * Value: An integer zero-based index that identifies the processed record.
+ */
+ visibleIndex: number;
+ /**
+ * Provides access to the parameters associated with the CardClick event.
+ * Value: An object that contains parameters associated with the event.
+ */
+ htmlEvent: Object;
+}
+/**
+ * A method that will handle the CustomButtonClick event.
+ */
+interface ASPxClientCardViewCustomButtonEventHandler {
+ /**
+ * A method that will handle the CustomButtonClick event.
+ * @param source The event source. This parameter identifies the ASPxClientCardView object that raised the event.
+ * @param e An ASPxClientCardViewCustomButtonEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewCustomButtonEventArgs): void;
+}
+/**
+ * Provides data for the CustomButtonClick event.
+ */
+interface ASPxClientCardViewCustomButtonEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the value which identifies the card whose custom button has been clicked.
+ * Value: An integer value that identifies the card whose custom button has been clicked.
+ */
+ visibleIndex: number;
+ /**
+ * Gets the value which identifies the custom button.
+ * Value: A string value that identifies the clicked custom button.
+ */
+ buttonID: string;
+}
+/**
+ * A method that will handle the SelectionChanged event.
+ */
+interface ASPxClientCardViewSelectionEventHandler {
+ /**
+ * A method that will handle the SelectionChanged event.
+ * @param source The event source.
+ * @param e An ASPxClientCardViewSelectionEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewSelectionEventArgs): void;
+}
+/**
+ * Provides data for the SelectionChanged event.
+ */
+interface ASPxClientCardViewSelectionEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the visible index of the card whose selected state has been changed.
+ * Value: An value that specifies the visible index of the card.
+ */
+ visibleIndex: number;
+ /**
+ * Gets whether the card has been selected.
+ * Value: true if the card has been selected; otherwise, false.
+ */
+ isSelected: boolean;
+ /**
+ * Gets whether all cards displayed within a page have been selected or unselected.
+ * Value: true if all cards displayed within a page have been selected or unselected; otherwise, false.
+ */
+ isAllRecordsOnPage: boolean;
+ /**
+ * Gets whether a selection has been changed on the server.
+ * Value: true if a selection has been changed on the server; otherwise, false.
+ */
+ isChangedOnServer: boolean;
+}
+/**
+ * A method that will handle the client BatchEditStartEditing event.
+ */
+interface ASPxClientCardViewBatchEditStartEditingEventHandler {
+ /**
+ * A method that will handle the BatchEditStartEditing event.
+ * @param source The event source.
+ * @param e An ASPxClientCardViewBatchEditStartEditingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditStartEditingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditStartEditing event.
+ */
+interface ASPxClientCardViewBatchEditStartEditingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the visible index of the card whose cells are about to be edited.
+ * Value: An value that specifies the visible index of the card.
+ */
+ visibleIndex: number;
+ /**
+ * Gets the CardView column that owns a cell that is about to be edited.
+ * Value: An object that is the focused CardView column.
+ */
+ focusedColumn: ASPxClientCardViewColumn;
+ /**
+ * Gets a hashtable that maintains information about editable cells.
+ * Value: A hashtable that stores information about editable cells.
+ */
+ cardValues: Object;
+}
+/**
+ * A method that will handle the client BatchEditEndEditing event.
+ */
+interface ASPxClientCardViewBatchEditEndEditingEventHandler {
+ /**
+ * A method that will handle the BatchEditEndEditing event.
+ * @param source The event source.
+ * @param e An ASPxClientCardViewBatchEditEndEditingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditEndEditingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditEndEditing event.
+ */
+interface ASPxClientCardViewBatchEditEndEditingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the visible index of the card whose cells have been edited.
+ * Value: An value that specifies the visible index of the card.
+ */
+ visibleIndex: number;
+ /**
+ * Gets a hashtable that maintains information about editable cells.
+ * Value: A hashtable that stores information about editable cells.
+ */
+ cardValues: Object;
+}
+/**
+ * A method that will handle the client BatchEditCardValidating event.
+ */
+interface ASPxClientCardViewBatchEditCardValidatingEventHandler {
+ /**
+ * A method that will handle the BatchEditCardValidating event.
+ * @param source The event source.
+ * @param e An ASPxClientCardViewBatchEditCardValidatingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditCardValidatingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditCardValidating event.
+ */
+interface ASPxClientCardViewBatchEditCardValidatingEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the processed card's visible index.
+ * Value: An integer value that specifies the processed card's visible index.
+ */
+ visibleIndex: number;
+ /**
+ * Provides validation information of a card currently being validated.
+ * Value: An object that is a hashtable containing validation information.
+ */
+ validationInfo: Object;
+}
+/**
+ * Represents an object that will handle the client-side BatchEditConfirmShowing event.
+ */
+interface ASPxClientCardViewBatchEditConfirmShowingEventHandler {
+ /**
+ * A method that will handle the BatchEditConfirmShowing client event.
+ * @param source The event source.
+ * @param e An ASPxClientCardViewBatchEditConfirmShowingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditConfirmShowingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditConfirmShowing event.
+ */
+interface ASPxClientCardViewBatchEditConfirmShowingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the client identifier of an object that initiates a send request.
+ * Value: A string value that specifies the object client identifier.
+ */
+ requestTriggerID: string;
+}
+/**
+ * A method that will handle the client BatchEditTemplateCellFocused event.
+ */
+interface ASPxClientCardViewBatchEditTemplateCellFocusedEventHandler {
+ /**
+ * A method that will handle the BatchEditTemplateCellFocused event.
+ * @param source An object representing the event source. Identifies the button editor that raised the event.
+ * @param e An ASPxClientCardViewBatchEditTemplateCellFocusedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditTemplateCellFocusedEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditTemplateCellFocused event.
+ */
+interface ASPxClientCardViewBatchEditTemplateCellFocusedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the currently processed column.
+ * Value: An object that is the client-side column object.
+ */
+ column: ASPxClientCardViewColumn;
+ /**
+ * Gets or sets a value specifying whether the event was handled.
+ * Value: true if the event was handled and default processing should not occur; false if the event should be handled using default processing.
+ */
+ handled: boolean;
+}
+/**
+ * A method that will handle the BatchEditChangesSaving event.
+ */
+interface ASPxClientCardViewBatchEditChangesSavingEventHandler {
+ /**
+ * A method that will handle the BatchEditChangesSaving event.
+ * @param source The event source. This parameter identifies the card view object which raised the event.
+ * @param e An ASPxClientCardViewBatchEditChangesSavingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditChangesSavingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditChangesSaving event.
+ */
+interface ASPxClientCardViewBatchEditChangesSavingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets a hashtable that maintains information about inserted cells.
+ * Value: A hashtable that stores information about inserted cells.
+ */
+ insertedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about deleted cells.
+ * Value: A hashtable that stores information about deleted cells.
+ */
+ deletedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about updated cells.
+ * Value: A hashtable that stores information about updated cells.
+ */
+ updatedValues: Object;
+}
+/**
+ * A method that will handle the BatchEditChangesCanceling event.
+ */
+interface ASPxClientCardViewBatchEditChangesCancelingEventHandler {
+ /**
+ * A method that will handle the BatchEditChangesCanceling event.
+ * @param source The event source. This parameter identifies the card view object which raised the event.
+ * @param e An ASPxClientCardViewBatchEditChangesCancelingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditChangesCancelingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditChangesCanceling event.
+ */
+interface ASPxClientCardViewBatchEditChangesCancelingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets a hashtable that maintains information about inserted cells.
+ * Value: A hashtable that stores information about inserted cells.
+ */
+ insertedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about deleted cells.
+ * Value: A hashtable that stores information about deleted cells.
+ */
+ deletedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about updated cells.
+ * Value: A hashtable that stores information about updated cells.
+ */
+ updatedValues: Object;
+}
+/**
+ * A method that will handle the BatchEditCardInserting event.
+ */
+interface ASPxClientCardViewBatchEditCardInsertingEventHandler {
+ /**
+ * A method that will handle the BatchEditCardInserting event.
+ * @param source The event source. This parameter identifies the card view object which raised the event.
+ * @param e An ASPxClientCardViewBatchEditCardInsertingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditCardInsertingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditCardInserting event.
+ */
+interface ASPxClientCardViewBatchEditCardInsertingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed card visible index.
+ * Value: An integer value that specifies the processed card visible index.
+ */
+ visibleIndex: number;
+}
+/**
+ * A method that will handle the BatchEditCardDeleting event.
+ */
+interface ASPxClientCardViewBatchEditCardDeletingEventHandler {
+ /**
+ * A method that will handle the BatchEditCardDeleting event.
+ * @param source The event source. This parameter identifies the card view object which raised the event.
+ * @param e An ASPxClientCardViewBatchEditCardDeletingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientCardViewBatchEditCardDeletingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditCardDeleting event.
+ */
+interface ASPxClientCardViewBatchEditCardDeletingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed card visible index.
+ * Value: An integer value that specifies the processed card visible index.
+ */
+ visibleIndex: number;
+ /**
+ * Gets a hashtable that maintains information about deleted cells.
+ * Value: A hashtable that stores information about deleted cells.
+ */
+ cardValues: Object;
+}
+/**
+ * Provides members related to Batch Edit Mode
+ */
+interface ASPxClientCardViewBatchEditApi {
+ /**
+ * Performs validation of CardView data when the CardView operates in Batch Edit mode.
+ */
+ ValidateCards(): boolean;
+ /**
+ * Performs validation of CardView data contained in the specified card when the CardView operates in Batch Edit mode.
+ * @param visibleIndex An integer value specifying the visible index of the validated card.
+ */
+ ValidateCard(visibleIndex: number): boolean;
+ /**
+ * Returns an array of card visible indices.
+ * @param includeDeleted true, to include visible indices of deleted cards to the returned array; otherwise, false.
+ */
+ GetCardVisibleIndices(includeDeleted: boolean): number[];
+ /**
+ * Returns an array of the deleted card visible indices.
+ */
+ GetDeletedCardIndices(): number[];
+ /**
+ * Returns an array of the inserted card visible indices.
+ */
+ GetInsertedCardIndices(): number[];
+ /**
+ * Indicates if the card with the specified visible index is deleted.
+ * @param visibleIndex An integer value that identifies the card by its visible index.
+ */
+ IsDeletedCard(visibleIndex: number): boolean;
+ /**
+ * Indicates if the card with the specified visible index is newly created.
+ * @param visibleIndex An integer value that identifies the card by its visible index.
+ */
+ IsNewCard(visibleIndex: number): boolean;
+ /**
+ * Programmatically moves the focus to the previous cell in the card
+ */
+ MoveFocusBackward(): boolean;
+ /**
+ * Programmatically moves the focus to the next cell in the card.
+ */
+ MoveFocusForward(): boolean;
+ /**
+ * Sets the value of the specified cell.
+ * @param visibleIndex An integer zero-based index that identifies the card containing the processed cell.
+ * @param columnFieldNameOrId A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ * @param value An object that contains the new cell value.
+ */
+ SetCellValue(visibleIndex: number, columnFieldNameOrId: string, value: Object): void;
+ /**
+ * Sets the value of the specified cell.
+ * @param visibleIndex An integer zero-based index that identifies the card containing the processed cell.
+ * @param columnFieldNameOrId A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ * @param value An object that contains the new cell value.
+ * @param displayText A string value that specifies the cell display text.
+ * @param cancelCellHighlighting true to cancel highlighting of the modified cell, false to highlight the modified cell.
+ */
+ SetCellValue(visibleIndex: number, columnFieldNameOrId: string, value: Object, displayText: string, cancelCellHighlighting?: boolean): void;
+ /**
+ * Gets the value of the specified cell.
+ * @param visibleIndex A zero-based integer value that specifies the visible index of a card containing the processed cell.
+ * @param columnFieldNameOrId A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ * @param initial true, to return the initial (server) value; false, to return a value currently contained on the client side (modified value).
+ */
+ GetCellValue(visibleIndex: number, columnFieldNameOrId: string, initial?: boolean): Object;
+ /**
+ * Gets information about the cell currently being edited.
+ */
+ GetEditCellInfo(): ASPxClientCardViewCellInfo;
+ /**
+ * Returns a value that indicates whether the card view has changed data.
+ */
+ HasChanges(): boolean;
+ /**
+ * Returns a value that indicates whether the specified card has changed data.
+ * @param visibleIndex An integer value that specifies the visible index of a card.
+ */
+ HasChanges(visibleIndex: number): boolean;
+ /**
+ * Returns a value that indicates whether the specified cell's data has been changed.
+ * @param visibleIndex An integer value that specifies the visible index of a card.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ HasChanges(visibleIndex: number, columnFieldNameOrId: string): boolean;
+ /**
+ * Resets changes in the specified card.
+ * @param visibleIndex An integer value that specifies the visible index of a card.
+ */
+ ResetChanges(visibleIndex: number): void;
+ /**
+ * Resets changes in the specified cell.
+ * @param visibleIndex An integer value that specifies the visible index of a card containing the processed cell.
+ * @param columnIndex A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ */
+ ResetChanges(visibleIndex: number, columnIndex: number): void;
+ /**
+ * Switches the specified cell to edit mode.
+ * @param visibleIndex A zero-based integer value that specifies the visible index of a card containing the processed cell.
+ * @param columnIndex A zero-based integer value that identifies the column which contains the processed cell in the column collection.
+ */
+ StartEdit(visibleIndex: number, columnIndex: number): void;
+ /**
+ * Ends cell or card editing.
+ */
+ EndEdit(): void;
+}
+/**
+ * Contains information on a grid cell.
+ */
+interface ASPxClientCardViewCellInfo {
+ /**
+ * Gets the visible index of the card that contains the cell currently being processed.
+ * Value: An value that specifies the visible index of the card.
+ */
+ cardVisibleIndex: number;
+ /**
+ * Gets the data column that contains the cell currently being processed.
+ * Value: An object that is the data column which contains the processed cell.
+ */
+ column: ASPxClientCardViewColumn;
+}
+/**
+ * A client-side equivalent of the ASPxGridView object.
+ */
+interface ASPxClientGridView extends ASPxClientGridBase {
+ /**
+ * Provides access to the batch editing client API.
+ * Value: A object that exposes the batch editing client API methods.
+ */
+ batchEditApi: ASPxClientGridViewBatchEditApi;
+ /**
+ * Occurs when a custom command button has been clicked.
+ */
+ CustomButtonClick: ASPxClientEvent>;
+ /**
+ * Fires after the selection has been changed.
+ */
+ SelectionChanged: ASPxClientEvent>;
+ /**
+ * Enables you to prevent columns from being sorted.
+ */
+ ColumnSorting: ASPxClientEvent>;
+ /**
+ * Fires in response to changing row focus.
+ */
+ FocusedRowChanged: ASPxClientEvent>;
+ /**
+ * Enables you to cancel data grouping.
+ */
+ ColumnGrouping: ASPxClientEvent>;
+ /**
+ * Fires when an end-user starts dragging the column's header and enables you to cancel this operation.
+ */
+ ColumnStartDragging: ASPxClientEvent>;
+ /**
+ * Enables you to prevent columns from being resized.
+ */
+ ColumnResizing: ASPxClientEvent>;
+ /**
+ * Occurs after a column's width has been changed by an end-user.
+ */
+ ColumnResized: ASPxClientEvent>;
+ /**
+ * Enables you to control column movement.
+ */
+ ColumnMoving: ASPxClientEvent>;
+ /**
+ * Fires before a group row is expanded.
+ */
+ RowExpanding: ASPxClientEvent>;
+ /**
+ * Fires before a group row is collapsed.
+ */
+ RowCollapsing: ASPxClientEvent>;
+ /**
+ * Fires before a detail row is expanded.
+ */
+ DetailRowExpanding: ASPxClientEvent>;
+ /**
+ * Fires before a detail row is collapsed.
+ */
+ DetailRowCollapsing: ASPxClientEvent>;
+ /**
+ * Fires on the client when a data row is clicked.
+ */
+ RowClick: ASPxClientEvent>;
+ /**
+ * Fires on the client when a data row is double clicked.
+ */
+ RowDblClick: ASPxClientEvent>;
+ /**
+ * Occurs after an end-user right clicks in the GridView, and enables you to provide a custom context menu.
+ */
+ ContextMenu: ASPxClientEvent>;
+ /**
+ * Fires on the client side when a context menu item has been clicked.
+ */
+ ContextMenuItemClick: ASPxClientEvent>;
+ /**
+ * Enables you to specify whether row data is valid and provide an error text.
+ */
+ BatchEditRowValidating: ASPxClientEvent>;
+ /**
+ * Enables you to prevent a batch edit confirmation message from being displayed.
+ */
+ BatchEditConfirmShowing: ASPxClientEvent>;
+ /**
+ * Occurs when a grid switches to batch edit mode.
+ */
+ BatchEditStartEditing: ASPxClientEvent>;
+ /**
+ * Occurs when a grid leaves the batch edit mode.
+ */
+ BatchEditEndEditing: ASPxClientEvent>;
+ /**
+ * Enables you to provide navigation for editors contained in a templated cell in Batch Edit mode.
+ */
+ BatchEditTemplateCellFocused: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before data changes are saved in batch edit mode.
+ */
+ BatchEditChangesSaving: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before data changes are canceled in batch edit mode.
+ */
+ BatchEditChangesCanceling: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before a data row is inserted in batch edit mode.
+ */
+ BatchEditRowInserting: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before a data row is deleted in batch edit mode.
+ */
+ BatchEditRowDeleting: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any unhandled server error occurs during server-side processing of a callback sent by the ASPxClientGridView.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Fires after the Customization Window has been closed.
+ */
+ CustomizationWindowCloseUp: ASPxClientEvent>;
+ /**
+ * Selects or deselects the specified row displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the row's visible index.
+ * @param selected true to select the specified row; false to deselect the row.
+ */
+ SelectRowOnPage(visibleIndex: number, selected?: boolean): void;
+ /**
+ * Deselects the specified row (if selected) displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the row's visible index.
+ */
+ UnselectRowOnPage(visibleIndex: number): void;
+ /**
+ * Selects all unselected rows displayed on the current page.
+ */
+ SelectAllRowsOnPage(): void;
+ /**
+ * Allows you to select or deselect all rows displayed on the current page based on the parameter passed.
+ * @param selected true to select all unselected rows displayed on the current page; false to deselect all selected rows on the page.
+ */
+ SelectAllRowsOnPage(selected: boolean): void;
+ /**
+ * Deselects all selected rows displayed on the current page.
+ */
+ UnselectAllRowsOnPage(): void;
+ /**
+ * Returns the number of selected rows.
+ */
+ GetSelectedRowCount(): number;
+ /**
+ * Indicates whether or not the specified row is selected within the current page.
+ * @param visibleIndex An integer value that identifies the row by its visible index.
+ */
+ IsRowSelectedOnPage(visibleIndex: number): boolean;
+ /**
+ * Indicates whether the specified row is a group row.
+ * @param visibleIndex An integer value that identifies the row by its visible index.
+ */
+ IsGroupRow(visibleIndex: number): boolean;
+ /**
+ * Indicates whether the specified row is a data row.
+ * @param visibleIndex An integer value that identifies the row by its visible index.
+ */
+ IsDataRow(visibleIndex: number): boolean;
+ /**
+ * Indicates whether the specified group row is expanded.
+ * @param visibleIndex An integer value that identifies the group row by its visible index.
+ */
+ IsGroupRowExpanded(visibleIndex: number): boolean;
+ /**
+ * Returns the current vertical scroll position of the grid's content.
+ */
+ GetVertScrollPos(): number;
+ /**
+ * Returns the current horizontal scroll position of the grid's content.
+ */
+ GetHorzScrollPos(): number;
+ /**
+ * Returns the current horizontal scroll position of the grid's content.
+ */
+ GetHorizontalScrollPosition(): number;
+ /**
+ * Specifies the vertical scroll position for the grid's content.
+ * @param position An integer value specifying the vertical scroll position.
+ */
+ SetVertScrollPos(position: number): void;
+ /**
+ * Specifies the horizontal scroll position for the grid's content.
+ * @param position An integer value specifying the horizontal scroll position.
+ */
+ SetHorzScrollPos(position: number): void;
+ /**
+ * Specifies the horizontal scroll position for the grid's content.
+ * @param position An integer value specifying the horizontal scroll position.
+ */
+ SetHorizontalScrollPosition(position: number): void;
+ /**
+ * Applies a filter specified in the filter row to the GridView.
+ */
+ ApplyOnClickRowFilter(): void;
+ /**
+ * Returns the editor used to edit the value in the auto filter row for the specified data column.
+ * @param column An ASPxClientGridViewColumn object that represents the data colum within the ASPxGridView.
+ */
+ GetAutoFilterEditor(column: ASPxClientGridViewColumn): Object;
+ /**
+ * Returns the editor used to edit the value in the auto filter row for the specified data column.
+ * @param columnIndex An integer value that identifies the data column by its index.
+ */
+ GetAutoFilterEditor(columnIndex: number): Object;
+ /**
+ * Returns the editor used to edit the value in the auto filter row for the specified data column.
+ * @param columnFieldNameOrId A string value that specifies the column's name or its data base field name.
+ */
+ GetAutoFilterEditor(columnFieldNameOrId: string): Object;
+ /**
+ * Applies a filter to the specified data column.
+ * @param column An ASPxClientGridViewColumn object that represents the data column within the client GridView.
+ * @param val A string value that specifies the filter expression.
+ */
+ AutoFilterByColumn(column: ASPxClientGridViewColumn, val: string): void;
+ /**
+ * Applies a filter to the specified data column.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param val A string value that specifies the filter expression.
+ */
+ AutoFilterByColumn(columnIndex: number, val: string): void;
+ /**
+ * Applies a filter to the specified data column.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param val A string value that specifies the filter expression.
+ */
+ AutoFilterByColumn(columnFieldNameOrId: string, val: string): void;
+ /**
+ * Applies the specified search panel filter criterion to grid data.
+ * @param value A string value that specifies the filter criterion.
+ */
+ ApplySearchPanelFilter(value: string): void;
+ /**
+ * Applies the specified filter expression to the GridView.
+ * @param filterExpression A string value that specifies the filter expression.
+ */
+ ApplyFilter(filterExpression: string): void;
+ /**
+ * Clears the filter expression applied to a client GridView.
+ */
+ ClearFilter(): void;
+ /**
+ * Gets the Popup Edit Form.
+ */
+ GetPopupEditForm(): ASPxClientPopupControl;
+ /**
+ * Sets input focus to the grid.
+ */
+ Focus(): void;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param args A string value that represents any information that needs to be sent to the server-side CustomCallback event.
+ */
+ PerformCallback(args: string): void;
+ /**
+ * Selects the specified page.
+ * @param pageIndex An integer value that specifies the active page's index.
+ */
+ GotoPage(pageIndex: number): void;
+ /**
+ * Gets the index of the page currently being selected.
+ */
+ GetPageIndex(): number;
+ /**
+ * Gets the number of pages to which the grid's data is divided.
+ */
+ GetPageCount(): number;
+ /**
+ * Activates the next page.
+ */
+ NextPage(): void;
+ /**
+ * Activates the previous page.
+ */
+ PrevPage(): void;
+ /**
+ * Returns the index of the first data row displayed within the GridView's active page.
+ */
+ GetTopVisibleIndex(): number;
+ /**
+ * Indicates whether the grid is in edit mode.
+ */
+ IsEditing(): boolean;
+ /**
+ * Saves all the changes made and switches the grid to browse mode.
+ */
+ UpdateEdit(): void;
+ /**
+ * Cancels all the changes made and switches the GridView to browse mode.
+ */
+ CancelEdit(): void;
+ /**
+ * Updates data displayed within the grid.
+ */
+ Refresh(): void;
+ /**
+ * Indicates whether the Customization Window is displayed.
+ */
+ IsCustomizationWindowVisible(): boolean;
+ /**
+ * Invokes the Customization Window.
+ */
+ ShowCustomizationWindow(): void;
+ /**
+ * Invokes the Customization Window and displays it over the specified HTML element.
+ * @param showAtElement An object that specifies the HTML element relative to whose position the customization window is invoked.
+ */
+ ShowCustomizationWindow(showAtElement?: Object): void;
+ /**
+ * Closes the Customization Window.
+ */
+ HideCustomizationWindow(): void;
+ /**
+ * Returns the number of columns within the client GridView.
+ */
+ GetColumnsCount(): number;
+ /**
+ * Returns the number of columns within the client GridView.
+ */
+ GetColumnCount(): number;
+ /**
+ * Returns the row values displayed within all selected rows.
+ * @param fieldNames The names of data source fields separated via a semicolon, whose values within the selected rows are returned.
+ * @param onCallback A ASPxClientGridViewValuesCallback object that represents the JavaScript function which receives the list of row values as a parameter.
+ */
+ GetSelectedFieldValues(fieldNames: string, onCallback: ASPxClientGridViewValuesCallback): void;
+ /**
+ * Returns key values of selected rows displayed within the current page.
+ */
+ GetSelectedKeysOnPage(): Object[];
+ /**
+ * Sends a callback to the server and generates the server-side CustomDataCallback event.
+ * @param args A string value that is any information that needs to be sent to the server-side CustomDataCallback event.
+ * @param onCallback A ASPxClientGridViewValuesCallback object that is the JavaScript function which receives the information on the client side.
+ */
+ GetValuesOnCustomCallback(args: string, onCallback: ASPxClientGridViewValuesCallback): void;
+ /**
+ * Returns the values of the specified data source fields within the specified row.
+ * @param visibleIndex An integer value that identifies the data row.
+ * @param fieldNames The names of data source fields separated via a semicolon, whose values within the specified row are returned.
+ * @param onCallback An ASPxClientGridViewValuesCallback object that represents the JavaScript function which receives the list of row values as a parameter.
+ */
+ GetRowValues(visibleIndex: number, fieldNames: string, onCallback: ASPxClientGridViewValuesCallback): void;
+ /**
+ * Returns the row values displayed within the current page.
+ * @param fieldNames The names of data source fields whose values are returned.
+ * @param onCallback A ASPxClientGridViewValuesCallback object that represents the JavaScript function which receives the list of row values as a parameter.
+ */
+ GetPageRowValues(fieldNames: string, onCallback: ASPxClientGridViewValuesCallback): void;
+ /**
+ * Returns the number of rows actually displayed within the active page.
+ */
+ GetVisibleRowsOnPage(): number;
+ /**
+ * Returns the client column that resides at the specified position within the column collection.
+ * @param columnIndex A zero-based index that identifies the column within the column collection (the column's Index property value).
+ */
+ GetColumn(columnIndex: number): ASPxClientGridViewColumn;
+ /**
+ * Returns the column with the specified unique identifier.
+ * @param columnId A string value that specifies the column's unique identifier (the column's Name property value).
+ */
+ GetColumnById(columnId: string): ASPxClientGridViewColumn;
+ /**
+ * Returns the client column which is bound to the specified data source field.
+ * @param columnFieldName A string value that specifies the name of the data source field to which the column is bound (the column's FieldName property value).
+ */
+ GetColumnByField(columnFieldName: string): ASPxClientGridViewColumn;
+ /**
+ * Returns the editor used to edit the specified column's values.
+ * @param column An ASPxClientGridViewColumn object that specifies the required column within the client grid.
+ */
+ GetEditor(column: ASPxClientGridViewColumn): ASPxClientEdit;
+ /**
+ * Returns the editor used to edit the specified column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ */
+ GetEditor(columnIndex: number): ASPxClientEdit;
+ /**
+ * Returns the editor used to edit the specified column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ GetEditor(columnFieldNameOrId: string): ASPxClientEdit;
+ /**
+ * Returns the value of the specified edit cell.
+ * @param column An ASPxClientGridViewColumn object that represents the data column within the client grid.
+ */
+ GetEditValue(column: ASPxClientGridViewColumn): string;
+ /**
+ * Returns the value of the specified edit cell.
+ * @param columnIndex An integer value that identifies the data column within the grid's column collection.
+ */
+ GetEditValue(columnIndex: number): string;
+ /**
+ * Returns the value of the specified edit cell.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ GetEditValue(columnFieldNameOrId: string): string;
+ /**
+ * Moves focus to the specified edit cell within the edited row.
+ * @param column An ASPxClientGridViewColumn object that represents the data column within the client grid.
+ */
+ FocusEditor(column: ASPxClientGridViewColumn): void;
+ /**
+ * Moves focus to the specified edit cell within the edited row.
+ * @param columnIndex An integer value that specifies the column's position within the columns collection.
+ */
+ FocusEditor(columnIndex: number): void;
+ /**
+ * Moves focus to the specified edit cell within the edited row.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ FocusEditor(columnFieldNameOrId: string): void;
+ /**
+ * Sets the value of the specified edit cell.
+ * @param column An ASPxClientGridViewColumn object that represents the data column within the client grid.
+ * @param value A string value that specifies the edit cell's new value.
+ */
+ SetEditValue(column: ASPxClientGridViewColumn, value: string): void;
+ /**
+ * Sets the value of the specified edit cell.
+ * @param columnIndex An integer value that identifies the data column within the grid's column collection.
+ * @param value A string value that specifies the edit cell's new value.
+ */
+ SetEditValue(columnIndex: number, value: string): void;
+ /**
+ * Sets the value of the specified edit cell.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param value A string value that specifies the edit cell's new value.
+ */
+ SetEditValue(columnFieldNameOrId: string, value: string): void;
+ /**
+ * Displays the Filter Control.
+ */
+ ShowFilterControl(): void;
+ /**
+ * Hides the Filter Control.
+ */
+ CloseFilterControl(): void;
+ /**
+ * Enables or disables the current filter.
+ * @param isFilterEnabled true to enable the current filter; otherwise, false.
+ */
+ SetFilterEnabled(isFilterEnabled: boolean): void;
+ /**
+ * Returns the current vertical scroll position of the grid's content.
+ */
+ GetVerticalScrollPosition(): number;
+ /**
+ * Specifies the vertical scroll position for the grid's content.
+ * @param position An integer value specifying the vertical scroll position.
+ */
+ SetVerticalScrollPosition(position: number): void;
+ /**
+ * Gets information about a focused cell.
+ */
+ GetFocusedCell(): ASPxClientGridViewCellInfo;
+ /**
+ * Focuses the specified cell.
+ * @param rowVisibleIndex An integer value that specifies the visible index of the row.
+ * @param columnIndex A zero-based index that identifies the column in the column collection (the column's Index property value).
+ */
+ SetFocusedCell(rowVisibleIndex: number, columnIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param column An ASPxClientGridViewColumn object that represents the data column.
+ */
+ SortBy(column: ASPxClientGridViewColumn): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ */
+ SortBy(columnIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ SortBy(columnFieldNameOrId: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param column An ASPxClientGridViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(column: ASPxClientGridViewColumn, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(columnIndex: number, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(columnFieldNameOrId: string, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param column An ASPxClientGridViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(column: ASPxClientGridViewColumn, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(columnIndex: number, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data column's values.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(columnFieldNameOrId: string, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data column's values, and places the column to the specified position among the sorted columns.
+ * @param column An ASPxClientGridViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based column's index among the sorted columns. -1 if data is not sorted by this column.
+ */
+ SortBy(column: ASPxClientGridViewColumn, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values, and places the column to the specified position among the sorted columns.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based column's index among the sorted columns. -1 if data is not sorted by this column.
+ */
+ SortBy(columnIndex: number, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Sorts data by the specified data column's values, and places the column to the specified position among the sorted columns.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the column's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based column's index among the sorted columns. -1 if data is not sorted by this column.
+ */
+ SortBy(columnFieldNameOrId: string, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Hides the specified column.
+ * @param column An ASPxClientGridViewColumn object that represents the column to hide.
+ */
+ MoveColumn(column: ASPxClientGridViewColumn): void;
+ /**
+ * Hides the specified column.
+ * @param columnIndex An integer value that specifies the absolute index of the column to hide.
+ */
+ MoveColumn(columnIndex: number): void;
+ /**
+ * Hides the specified column.
+ * @param columnFieldNameOrId A String value that identifies the column to be hidden by the name of the data source field to which the column is bound, or by the column's name.
+ */
+ MoveColumn(columnFieldNameOrId: string): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid.
+ * @param column An ASPxClientGridViewColumn object that represents the column to move.
+ * @param moveToColumnVisibleIndex An integer value that specifies the column's position among the visible columns within the grid.
+ */
+ MoveColumn(column: ASPxClientGridViewColumn, moveToColumnVisibleIndex: number): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid.
+ * @param columnIndex An integer value that specifies the absolute index of the column to move.
+ * @param moveToColumnVisibleIndex An integer value that specifies the column's position among the visible columns within the grid.
+ */
+ MoveColumn(columnIndex: number, moveToColumnVisibleIndex: number): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid.
+ * @param columnFieldNameOrId A String value that identifies the column to be moved by the name of the data source field to which the column is bound or by the column's name.
+ * @param moveToColumnVisibleIndex An integer value that specifies the column's position among the visible columns within the grid.
+ */
+ MoveColumn(columnFieldNameOrId: string, moveToColumnVisibleIndex: number): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid.
+ * @param column An ASPxClientGridViewColumn object that represents the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ */
+ MoveColumn(column: ASPxClientGridViewColumn, moveToColumnVisibleIndex: number, moveBefore: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid.
+ * @param columnIndex An integer value that specifies the absolute index of the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ */
+ MoveColumn(columnIndex: number, moveToColumnVisibleIndex: number, moveBefore: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid.
+ * @param columnFieldNameOrId A string value that identifies the column to be moved by the name of the data source field to which the column is bound or by the column's name.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ */
+ MoveColumn(columnFieldNameOrId: string, moveToColumnVisibleIndex: number, moveBefore: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid and optionally groups the grid's data by this column.
+ * @param column An ASPxClientGridViewColumn object that represents the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ * @param moveToGroup true to group the grid's data by the column; otherwise, false.
+ */
+ MoveColumn(column: ASPxClientGridViewColumn, moveToColumnVisibleIndex: number, moveBefore: boolean, moveToGroup: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid and optionally groups the grid's data by this column.
+ * @param columnIndex An integer value that specifies the absolute index of the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ * @param moveToGroup true to group the ASPxGridView's data by the column; otherwise, false.
+ */
+ MoveColumn(columnIndex: number, moveToColumnVisibleIndex: number, moveBefore: boolean, moveToGroup: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid and optionally groups the grid's data by this column.
+ * @param columnFieldNameOrId A string value that identifies the column to be moved by the name of the data source field to which the column is bound or by the column's name.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ * @param moveToGroup true to group the grid's data by the column; otherwise, false.
+ */
+ MoveColumn(columnFieldNameOrId: string, moveToColumnVisibleIndex: number, moveBefore: boolean, moveToGroup: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid and optionally groups or ungroups the grid's data by this column.
+ * @param column An ASPxClientGridViewColumn object that represents the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ * @param moveToGroup true to group the grid's data by the column; otherwise, false.
+ * @param moveFromGroup true to ungroup the grid's data by the column; otherwise, false.
+ */
+ MoveColumn(column: ASPxClientGridViewColumn, moveToColumnVisibleIndex: number, moveBefore: boolean, moveToGroup: boolean, moveFromGroup: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid and optionally groups or ungroups the grid's data by this column.
+ * @param columnIndex An integer value that specifies the absolute index of the column to move.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ * @param moveToGroup true to group the grid's data by the column; otherwise, false.
+ * @param moveFromGroup true to ungroup the grid's data by the column; otherwise, false.
+ */
+ MoveColumn(columnIndex: number, moveToColumnVisibleIndex: number, moveBefore: boolean, moveToGroup: boolean, moveFromGroup: boolean): void;
+ /**
+ * Moves the specified column to the specified visual position within the grid and optionally groups or ungroups the grid's data by this column.
+ * @param columnFieldNameOrId A string value that identifies the column to be moved by the name of the data source field to which the column is bound or by the column's name.
+ * @param moveToColumnVisibleIndex An integer value that identifies the target column displayed within the grid.
+ * @param moveBefore true to move the column before the target column; otherwise, false.
+ * @param moveToGroup true to group the grid's data by the column; otherwise, false.
+ * @param moveFromGroup true to ungroup the grid's data by the column; otherwise, false.
+ */
+ MoveColumn(columnFieldNameOrId: string, moveToColumnVisibleIndex: number, moveBefore: boolean, moveToGroup: boolean, moveFromGroup: boolean): void;
+ /**
+ * Groups data by the values of the specified column.
+ * @param column An ASPxClientGridViewColumn object that represents the data column by whose values data is grouped.
+ */
+ GroupBy(column: ASPxClientGridViewColumn): void;
+ /**
+ * Groups data by the values of the specified column.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ */
+ GroupBy(columnIndex: number): void;
+ /**
+ * Groups data by the values of the specified column.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ GroupBy(columnFieldNameOrId: string): void;
+ /**
+ * Groups data by the values of the specified data column. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
+ * @param column An ASPxClientGridViewColumn object that represents the data column by whose values data is grouped.
+ * @param groupIndex An integer value that specifies the grouping level. -1 to cancel grouping by the column's values.
+ */
+ GroupBy(column: ASPxClientGridViewColumn, groupIndex: number): void;
+ /**
+ * Groups data by the values of the specified data column. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param groupIndex An integer value that specifies the grouping level. -1 to cancel grouping by the column's values.
+ */
+ GroupBy(columnIndex: number, groupIndex: number): void;
+ /**
+ * Groups data by the values of the specified data column. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param groupIndex An integer value that specifies the grouping level. -1 to cancel grouping by the column's values.
+ */
+ GroupBy(columnFieldNameOrId: string, groupIndex: number): void;
+ /**
+ * Groups data by the values of the specified data column with the specified sort order. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
+ * @param column An ASPxClientGridViewColumn object that represents the data column by whose values data is grouped.
+ * @param groupIndex An integer value that specifies the grouping level. -1 to cancel grouping by the column's values.
+ * @param sortOrder A string value that specifies the column's sort order.
+ */
+ GroupBy(column: ASPxClientGridViewColumn, groupIndex: number, sortOrder: string): void;
+ /**
+ * Groups data by the values of the specified data column with the specified sort order. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ * @param groupIndex An integer value that specifies the grouping level. -1 to cancel grouping by the column's values.
+ * @param sortOrder A string value that specifies the column's sort order.
+ */
+ GroupBy(columnIndex: number, groupIndex: number, sortOrder: string): void;
+ /**
+ * Groups data by the values of the specified data column with the specified sort order. If several columns are involved in grouping, the specified column will reside at the specified grouping level.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param groupIndex An integer value that specifies the grouping level. -1 to cancel grouping by the column's values.
+ * @param sortOrder A string value that specifies the column's sort order.
+ */
+ GroupBy(columnFieldNameOrId: string, groupIndex: number, sortOrder: string): void;
+ /**
+ * Ungroups data by the values of the specified column.
+ * @param column An ASPxClientGridViewColumn object that represents the data column within the ASPxGridView.
+ */
+ UnGroup(column: ASPxClientGridViewColumn): void;
+ /**
+ * Ungroups data by the values of the specified column.
+ * @param columnIndex An integer value that specifies the column's position within the column collection.
+ */
+ UnGroup(columnIndex: number): void;
+ /**
+ * Ungroups data by the values of the specified column.
+ * @param columnFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ */
+ UnGroup(columnFieldNameOrId: string): void;
+ /**
+ * Expands all group rows.
+ */
+ ExpandAll(): void;
+ /**
+ * Collapses all group rows.
+ */
+ CollapseAll(): void;
+ /**
+ * Expands all detail rows.
+ */
+ ExpandAllDetailRows(): void;
+ /**
+ * Collapses all detail rows.
+ */
+ CollapseAllDetailRows(): void;
+ /**
+ * Expands the specified group row preserving the collapsed state of any child group row.
+ * @param visibleIndex An integer value that identifies the group row.
+ */
+ ExpandRow(visibleIndex: number): void;
+ /**
+ * Expands the specified group row and optionally child group rows at all nesting levels.
+ * @param visibleIndex An integer value that identifies the group row.
+ * @param recursive true to expand any child group rows at all nesting levels; false to preserve the collapsed state of any child group rows.
+ */
+ ExpandRow(visibleIndex: number, recursive?: boolean): void;
+ /**
+ * Collapses the specified group row preserving the expanded state of child group rows.
+ * @param visibleIndex An integer value that identifies the group row by its visible index.
+ */
+ CollapseRow(visibleIndex: number): void;
+ /**
+ * Collapses the specified group row and optionally child group rows at all nesting levels.
+ * @param visibleIndex An integer value that identifies the group row by its visible index.
+ * @param recursive true to collapse child group rows at all nesting levels; false to preserve the expanded state of any child group row.
+ */
+ CollapseRow(visibleIndex: number, recursive?: boolean): void;
+ /**
+ * Scrolls the view to the specified row.
+ * @param visibleIndex An integer value that identifies a row by its visible index.
+ */
+ MakeRowVisible(visibleIndex: number): void;
+ /**
+ * Expands the specified detail row.
+ * @param visibleIndex A zero-based integer index that identifies the detail row.
+ */
+ ExpandDetailRow(visibleIndex: number): void;
+ /**
+ * Collapses the specified detail row.
+ * @param visibleIndex A zero-based integer index that identifies the detail row.
+ */
+ CollapseDetailRow(visibleIndex: number): void;
+ /**
+ * Returns the key value of the specified data row.
+ * @param visibleIndex An integer value that specifies the row's visible index.
+ */
+ GetRowKey(visibleIndex: number): string;
+ /**
+ * Switches the grid to edit mode.
+ * @param visibleIndex A zero-based integer that identifies a data row to be edited.
+ */
+ StartEditRow(visibleIndex: number): void;
+ /**
+ * Switches the grid to edit mode.
+ * @param key An object that uniquely identifies a data row to be edited.
+ */
+ StartEditRowByKey(key: Object): void;
+ /**
+ * Indicates whether or not a new row is being edited.
+ */
+ IsNewRowEditing(): boolean;
+ /**
+ * Adds a new record.
+ */
+ AddNewRow(): void;
+ /**
+ * Deletes the specified row.
+ * @param visibleIndex An integer value that identifies the row.
+ */
+ DeleteRow(visibleIndex: number): void;
+ /**
+ * Deletes a row with the specified key value.
+ * @param key An object that uniquely identifies the row.
+ */
+ DeleteRowByKey(key: Object): void;
+ /**
+ * Returns the focused row's index.
+ */
+ GetFocusedRowIndex(): number;
+ /**
+ * Moves focus to the specified row.
+ * @param visibleIndex An integer value that specifies the focused row's index.
+ */
+ SetFocusedRowIndex(visibleIndex: number): void;
+ /**
+ * Selects all the unselected rows within the grid.
+ */
+ SelectRows(): void;
+ /**
+ * Selects the specified row displayed within the grid.
+ * @param visibleIndex A zero-based integer value that specifies the row's visible index.
+ */
+ SelectRows(visibleIndex: number): void;
+ /**
+ * Selects the specified rows within the grid.
+ * @param visibleIndices An array of zero-based indices that identify data rows within the grid.
+ */
+ SelectRows(visibleIndices: number[]): void;
+ /**
+ * Selects or deselects the specified rows within the grid.
+ * @param visibleIndices An array of zero-based indices that identify data rows within the grid.
+ * @param selected true to select the specified rows; false to deselect the rows.
+ */
+ SelectRows(visibleIndices: number[], selected: boolean): void;
+ /**
+ * Selects or deselects the specified row within the grid.
+ * @param visibleIndex An integer zero-based index that identifies the data row within the grid.
+ * @param selected true to select the specified row; false to deselect the row.
+ */
+ SelectRows(visibleIndex: number, selected?: boolean): void;
+ /**
+ * Selects or deselects the specified rows displayed within the grid.
+ * @param keys An array of objects that uniquely identify the rows.
+ * @param selected true to select the specified rows; false to deselect the rows.
+ */
+ SelectRowsByKey(keys: Object[], selected?: boolean): void;
+ /**
+ * Selects or deselects the specified row displayed within the grid.
+ * @param key An object that uniquely identifies the row.
+ * @param selected true to select the specified row; false to deselect the row.
+ */
+ SelectRowsByKey(key: Object, selected?: boolean): void;
+ /**
+ * Selects the specified rows displayed within the grid.
+ * @param keys An array of objects that uniquely identify the rows.
+ */
+ SelectRowsByKey(keys: Object[]): void;
+ /**
+ * Selects a grid row by its key.
+ * @param key An object that uniquely identifies the row.
+ */
+ SelectRowsByKey(key: Object): void;
+ /**
+ * Deselects the specified rows displayed within the grid.
+ * @param keys An array of objects that uniquely identify the rows.
+ */
+ UnselectRowsByKey(keys: Object[]): void;
+ /**
+ * Deselects the specified row displayed within the grid.
+ * @param key An object that uniquely identifies the row.
+ */
+ UnselectRowsByKey(key: Object): void;
+ /**
+ * Deselects all the selected rows within the grid.
+ */
+ UnselectRows(): void;
+ /**
+ * Deselects the specified rows (if selected) within the grid.
+ * @param visibleIndices An array of zero-based indices that identify data rows within the grid.
+ */
+ UnselectRows(visibleIndices: number[]): void;
+ /**
+ * Deselects the specified row (if selected) within the grid.
+ * @param visibleIndex A zero-based integer value that specifies the row's visible index.
+ */
+ UnselectRows(visibleIndex: number): void;
+ /**
+ * Deselects all grid rows that match the filter criteria currently applied to the grid.
+ */
+ UnselectFilteredRows(): void;
+ /**
+ * Selects the specified row displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the row's visible index.
+ */
+ SelectRowOnPage(visibleIndex: number): void;
+}
+/**
+ * A client grid column.
+ */
+interface ASPxClientGridViewColumn extends ASPxClientGridColumnBase {
+ /**
+ * Gets the column's unique identifier.
+ * Value: A string value that specifies the column's unique identifier.
+ */
+ id: string;
+ /**
+ * Gets the name that uniquely identifies the column.
+ * Value: A string value assigned to the column's Name property.
+ */
+ name: string;
+ /**
+ * Gets the column's position within the collection.
+ * Value: An integer zero-bazed index that specifies the column's position within the collection.
+ */
+ index: number;
+ /**
+ * Gets the name of the database field assigned to the current column.
+ * Value: A string value that specifies the name of a data field.
+ */
+ fieldName: string;
+ /**
+ * Gets whether the column is visible.
+ * Value: true to display the column; otherwise, false.
+ */
+ visible: boolean;
+}
+/**
+ * Represents a JavaScript function which receives the list of row values when the client GetSelectedFieldValues method is called.
+ */
+interface ASPxClientGridViewValuesCallback {
+ /**
+ * Represents a JavaScript function which receives the list of row values when the client GetSelectedFieldValues method is called.
+ * @param result An object that represents the list of row values received from the server.
+ */
+ (result: Object): void;
+}
+/**
+ * A method that will handle the cancelable events of a client ASPxGridView column.
+ */
+interface ASPxClientGridViewColumnCancelEventHandler {
+ /**
+ * A method that will handle the cancelable events of a client ASPxGridView column.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewColumnCancelEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewColumnCancelEventArgs): void;
+}
+/**
+ * Provides data for the cancelable events of a client ASPxGridView column.
+ */
+interface ASPxClientGridViewColumnCancelEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed client column.
+ * Value: An ASPxClientGridViewColumn object that represents the processed column.
+ */
+ column: ASPxClientGridViewColumn;
+}
+/**
+ * A method that will handle the client events concerned with column processing.
+ */
+interface ASPxClientGridViewColumnProcessingModeEventHandler {
+ /**
+ * A method that will handle the client events concerned with column processing.
+ * @param source The event source.
+ * @param e A ASPxClientGridViewColumnProcessingModeEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewColumnProcessingModeEventArgs): void;
+}
+/**
+ * Provides data for the client events concerned with column processing, and that allow the event's processing to be passed to the server side.
+ */
+interface ASPxClientGridViewColumnProcessingModeEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets a grid column related to the event.
+ * Value: An ASPxClientGridViewColumn object representing the column related to the event.
+ */
+ column: ASPxClientGridViewColumn;
+}
+/**
+ * A method that will handle the RowExpanding events.
+ */
+interface ASPxClientGridViewRowCancelEventHandler {
+ /**
+ * A method that will handle the RowExpanding events.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewRowCancelEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewRowCancelEventArgs): void;
+}
+/**
+ * Provides data for the RowExpanding events.
+ */
+interface ASPxClientGridViewRowCancelEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed row's visible index.
+ * Value: An integer zero-based index that identifies the processed row.
+ */
+ visibleIndex: number;
+}
+/**
+ * A method that will handle the SelectionChanged event.
+ */
+interface ASPxClientGridViewSelectionEventHandler {
+ /**
+ * A method that will handle the SelectionChanged event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewSelectionEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewSelectionEventArgs): void;
+}
+/**
+ * Provides data for the SelectionChanged event.
+ */
+interface ASPxClientGridViewSelectionEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the visible index of the row whose selected state has been changed.
+ * Value: An value that specifies the visible index of the row.
+ */
+ visibleIndex: number;
+ /**
+ * Gets whether the row has been selected.
+ * Value: true if the row has been selected; otherwise, false.
+ */
+ isSelected: boolean;
+ /**
+ * Gets whether all rows displayed within a page have been selected or unselected.
+ * Value: true if all rows displayed within a page have been selected or unselected; otherwise, false.
+ */
+ isAllRecordsOnPage: boolean;
+ /**
+ * Gets whether a selection has been changed on the server.
+ * Value: true if a selection has been changed on the server; otherwise, false.
+ */
+ isChangedOnServer: boolean;
+}
+/**
+ * A method that will handle the RowClick events.
+ */
+interface ASPxClientGridViewRowClickEventHandler {
+ /**
+ * A method that will handle the RowClick event.
+ * @param source The event source. This parameter identifies the ASPxClientGridView object that raised the event.
+ * @param e An ASPxClientGridViewRowClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewRowClickEventArgs): void;
+}
+/**
+ * Provides data for the RowClick event.
+ */
+interface ASPxClientGridViewRowClickEventArgs extends ASPxClientGridViewRowCancelEventArgs {
+ /**
+ * Provides access to the parameters associated with the RowClick event.
+ * Value: An object that contains parameters associated with the event.
+ */
+ htmlEvent: Object;
+}
+/**
+ * A method that will handle the ContextMenu event.
+ */
+interface ASPxClientGridViewContextMenuEventHandler {
+ /**
+ * A method that will handle the ContextMenu event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewContextMenuEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewContextMenuEventArgs): void;
+}
+/**
+ * Provides data for the ContextMenu event.
+ */
+interface ASPxClientGridViewContextMenuEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets which grid element has been right clicked by the user.
+ * Value: A String value that specifies grid element.
+ */
+ objectType: string;
+ /**
+ * Identifies the grid element being right clicked by the user.
+ * Value: A zero-based integer index that identifies the grid element being clicked by the user.
+ */
+ index: number;
+ /**
+ * Provides access to the parameters associated with the ContextMenu event.
+ * Value: An object that contains parameters associated with the event.
+ */
+ htmlEvent: Object;
+ /**
+ * Gets the currently processed menu object.
+ * Value: An object that is the currently processed menu.
+ */
+ menu: Object;
+ /**
+ * Specifies whether a browser context menu should be displayed.
+ * Value: true, to display a browser context menu; otherwise, false. The default is false.
+ */
+ showBrowserMenu: boolean;
+}
+/**
+ * A method that will handle the client ContextMenuItemClick event.
+ */
+interface ASPxClientGridViewContextMenuItemClickEventHandler {
+ /**
+ * A method that will handle the ContextMenuItemClick event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewContextMenuItemClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewContextMenuItemClickEventArgs): void;
+}
+/**
+ * Provides data for the ContextMenuItemClick event.
+ */
+interface ASPxClientGridViewContextMenuItemClickEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the clicked context menu item.
+ * Value: An object, manipulations on which forced the event to be raised.
+ */
+ item: ASPxClientMenuItem;
+ /**
+ * Gets which grid element has been right clicked by the user.
+ * Value: A String value that specifies the grid element.
+ */
+ objectType: string;
+ /**
+ * Returns the processed element index.
+ * Value: An integer value that specifies the processed element index.
+ */
+ elementIndex: number;
+ /**
+ * Specifies whether a postback or a callback is used to finally process the event on the server side.
+ * Value: true to perform the round trip to the server side via postback; false to perform the round trip to the server side via callback.
+ */
+ usePostBack: boolean;
+ /**
+ * Specifies whether default context menu item click is handled manually, so no default processing is required.
+ * Value: true if no default processing is required; otherwise false.
+ */
+ handled: boolean;
+}
+/**
+ * A method that will handle the CustomButtonClick event.
+ */
+interface ASPxClientGridViewCustomButtonEventHandler {
+ /**
+ * A method that will handle the CustomButtonClick event.
+ * @param source The event source. This parameter identifies the ASPxClientGridView object that raised the event.
+ * @param e An ASPxClientGridViewCustomButtonEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewCustomButtonEventArgs): void;
+}
+/**
+ * Provides data for the CustomButtonClick event.
+ */
+interface ASPxClientGridViewCustomButtonEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the value which identifies the row whose custom button has been clicked.
+ * Value: An integer value that identifies the row whose custom button has been clicked.
+ */
+ visibleIndex: number;
+ /**
+ * Gets the value which identifies the custom button.
+ * Value: A string value that identifies the clicked custom button.
+ */
+ buttonID: string;
+}
+/**
+ * A method that will handle the ColumnMoving event.
+ */
+interface ASPxClientGridViewColumnMovingEventHandler {
+ /**
+ * A method that will handle the ColumnMoving event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewColumnMovingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewColumnMovingEventArgs): void;
+}
+/**
+ * Provides data for the ColumnMoving event.
+ */
+interface ASPxClientGridViewColumnMovingEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets or sets whether a column is allowed to be moved.
+ * Value: true to allow column moving; otherwise, false.
+ */
+ allow: boolean;
+ /**
+ * Gets the column currently being dragged by an end-user.
+ * Value: An ASPxClientGridViewColumn object that represents the column currently being dragged by an end-user.
+ */
+ sourceColumn: ASPxClientGridViewColumn;
+ /**
+ * Gets the target column, before or after which the source column will be inserted (if dropped).
+ * Value: An ASPxClientGridViewColumn object that represents the target column. null (Nothing in Visual Basic) if the source column isn't over the column header panel.
+ */
+ destinationColumn: ASPxClientGridViewColumn;
+ /**
+ * Gets whether the source column will be inserted before the target column (if dropped).
+ * Value: true if the source column will be inserted before the target column (if dropped); otherwise, false.
+ */
+ isDropBefore: boolean;
+ /**
+ * Gets whether the source column is currently over the Group Panel.
+ * Value: true if the source column is currently over the Group Panel; otherwise, false.
+ */
+ isGroupPanel: boolean;
+}
+/**
+ * Represents an object that will handle the client-side BatchEditConfirmShowing event.
+ */
+interface ASPxClientGridViewBatchEditConfirmShowingEventHandler {
+ /**
+ * A method that will handle the BatchEditConfirmShowing client event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewBatchEditConfirmShowingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditConfirmShowingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditConfirmShowing event.
+ */
+interface ASPxClientGridViewBatchEditConfirmShowingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the client identifier of an object that initiates a send request.
+ * Value: A string value that specifies the object client identifier.
+ */
+ requestTriggerID: string;
+}
+/**
+ * A method that will handle the client BatchEditStartEditing event.
+ */
+interface ASPxClientGridViewBatchEditStartEditingEventHandler {
+ /**
+ * A method that will handle the BatchEditStartEditing event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewBatchEditStartEditingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditStartEditingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditStartEditing event.
+ */
+interface ASPxClientGridViewBatchEditStartEditingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the visible index of the row whose cells are about to be edited.
+ * Value: An value that specifies the visible index of the row.
+ */
+ visibleIndex: number;
+ /**
+ * Gets the grid column that owns a cell that is about to be edited.
+ * Value: An object that is the focused grid column.
+ */
+ focusedColumn: ASPxClientGridViewColumn;
+ /**
+ * Gets a hashtable that maintains information about editable cells.
+ * Value: A hashtable that stores information about editable cells.
+ */
+ rowValues: Object;
+}
+/**
+ * A method that will handle the client BatchEditEndEditing event.
+ */
+interface ASPxClientGridViewBatchEditEndEditingEventHandler {
+ /**
+ * A method that will handle the BatchEditEndEditing event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewBatchEditEndEditingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditEndEditingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditEndEditing event.
+ */
+interface ASPxClientGridViewBatchEditEndEditingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the visible index of the row whose cells has been edited.
+ * Value: An value that specifies the visible index of the row.
+ */
+ visibleIndex: number;
+ /**
+ * Gets a hashtable that maintains information about editable cells.
+ * Value: A hashtable that stores information about editable cells.
+ */
+ rowValues: Object;
+}
+/**
+ * A method that will handle the client BatchEditRowValidating event.
+ */
+interface ASPxClientGridViewBatchEditRowValidatingEventHandler {
+ /**
+ * A method that will handle the BatchEditRowValidating event.
+ * @param source The event source.
+ * @param e An ASPxClientGridViewBatchEditRowValidatingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditRowValidatingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditRowValidating event.
+ */
+interface ASPxClientGridViewBatchEditRowValidatingEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the processed row's visible index.
+ * Value: An integer value that specifies the processed row's visible index.
+ */
+ visibleIndex: number;
+ /**
+ * Provides validation information of a row currently being validated.
+ * Value: An object that is a hashtable containing validation information.
+ */
+ validationInfo: Object;
+}
+/**
+ * A method that will handle the client BatchEditTemplateCellFocused event.
+ */
+interface ASPxClientGridViewBatchEditTemplateCellFocusedEventHandler {
+ /**
+ * A method that will handle the BatchEditTemplateCellFocused event.
+ * @param source An object representing the event source. Identifies the button editor that raised the event.
+ * @param e An ASPxClientGridViewBatchEditTemplateCellFocusedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditTemplateCellFocusedEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditTemplateCellFocused event.
+ */
+interface ASPxClientGridViewBatchEditTemplateCellFocusedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the currently processed column.
+ * Value: A object that is the client-side column object.
+ */
+ column: ASPxClientGridViewColumn;
+ /**
+ * Gets or sets a value specifying whether the event was handled.
+ * Value: true if the event was handled and default processing should not occur; false if the event should be handled using default processing.
+ */
+ handled: boolean;
+}
+/**
+ * A method that will handle the BatchEditChangesSaving event.
+ */
+interface ASPxClientGridViewBatchEditChangesSavingEventHandler {
+ /**
+ * A method that will handle the BatchEditChangesSaving event.
+ * @param source The event source. This parameter identifies the grid view object which raised the event.
+ * @param e An ASPxClientGridViewBatchEditChangesSavingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditChangesSavingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditChangesSaving event.
+ */
+interface ASPxClientGridViewBatchEditChangesSavingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets a hashtable that maintains information about inserted cells.
+ * Value: A hashtable that stores information about inserted cells.
+ */
+ insertedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about deleted cells.
+ * Value: A hashtable that stores information about deleted cells.
+ */
+ deletedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about updated cells.
+ * Value: A hashtable that stores information about updated cells.
+ */
+ updatedValues: Object;
+}
+/**
+ * A method that will handle the BatchEditChangesCanceling event.
+ */
+interface ASPxClientGridViewBatchEditChangesCancelingEventHandler {
+ /**
+ * A method that will handle the BatchEditChangesCanceling event.
+ * @param source The event source. This parameter identifies the grid view object which raised the event.
+ * @param e An ASPxClientGridViewBatchEditChangesCancelingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditChangesCancelingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditChangesCanceling event.
+ */
+interface ASPxClientGridViewBatchEditChangesCancelingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets a hashtable that maintains information about inserted cells.
+ * Value: A hashtable that stores information about inserted cells.
+ */
+ insertedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about deleted cells.
+ * Value: A hashtable that stores information about deleted cells.
+ */
+ deletedValues: Object;
+ /**
+ * Gets a hashtable that maintains information about updated cells.
+ * Value: A hashtable that stores information about updated cells.
+ */
+ updatedValues: Object;
+}
+/**
+ * A method that will handle the BatchEditRowInserting event.
+ */
+interface ASPxClientGridViewBatchEditRowInsertingEventHandler {
+ /**
+ * A method that will handle the BatchEditRowInserting event.
+ * @param source The event source. This parameter identifies the card view object which raised the event.
+ * @param e An ASPxClientGridViewBatchEditRowInsertingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditRowInsertingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditRowInserting event.
+ */
+interface ASPxClientGridViewBatchEditRowInsertingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed row's visible index.
+ * Value: An integer value that specifies the processed row's visible index.
+ */
+ visibleIndex: number;
+}
+/**
+ * A method that will handle the BatchEditRowDeleting event.
+ */
+interface ASPxClientGridViewBatchEditRowDeletingEventHandler {
+ /**
+ * A method that will handle the BatchEditRowDeleting event.
+ * @param source The event source. This parameter identifies the grid view object which raised the event.
+ * @param e An ASPxClientGridViewBatchEditRowDeletingEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientGridViewBatchEditRowDeletingEventArgs): void;
+}
+/**
+ * Provides data for the BatchEditRowDeleting event.
+ */
+interface ASPxClientGridViewBatchEditRowDeletingEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed row's visible index.
+ * Value: An integer value that specifies the processed row's visible index.
+ */
+ visibleIndex: number;
+ /**
+ * Gets a hashtable that maintains information about deleted cells.
+ * Value: A hashtable that stores information about deleted cells.
+ */
+ rowValues: Object;
+}
+/**
+ * Contains information on a grid cell.
+ */
+interface ASPxClientGridViewCellInfo {
+ /**
+ * Gets the visible index of the row that contains the cell currently being processed.
+ * Value: An value that specifies the visible index of the row.
+ */
+ rowVisibleIndex: number;
+ /**
+ * Gets the data column that contains the cell currently being processed.
+ * Value: An object that is the data column which contains the processed cell.
+ */
+ column: ASPxClientGridViewColumn;
+}
+/**
+ * Provides members related to Batch Edit Mode
+ */
+interface ASPxClientGridViewBatchEditApi {
+ /**
+ * Performs validation of grid data when the grid operates in Batch Edit mode.
+ */
+ ValidateRows(): boolean;
+ /**
+ * Performs validation of grid data contained in the specified row when the grid operates in Batch Edit mode.
+ * @param visibleIndex An integer value specifying the visible index of the validated row.
+ */
+ ValidateRow(visibleIndex: number): boolean;
+ /**
+ * Returns an array of row visible indices.
+ * @param includeDeleted true, to include visible indices of deleted rows to the returned array; otherwise, false.
+ */
+ GetRowVisibleIndices(includeDeleted: boolean): number[];
+ /**
+ * Returns an array of the deleted row visible indices.
+ */
+ GetDeletedRowIndices(): number[];
+ /**
+ * Returns an array of the inserted row visible indices.
+ */
+ GetInsertedRowIndices(): number[];
+ /**
+ * Indicates if the row with specified visible index is deleted.
+ * @param visibleIndex An integer value that identifies the row by its visible index.
+ */
+ IsDeletedRow(visibleIndex: number): boolean;
+ /**
+ * Indicates if the row with specified visible index is newly created.
+ * @param visibleIndex An integer value that identifies the row by its visible index.
+ */
+ IsNewRow(visibleIndex: number): boolean;
+ /**
+ * Programmatically moves the focus to the previous cell in the row.
+ */
+ MoveFocusBackward(): boolean;
+ /**
+ * Programmatically moves the focus to the next cell in the row.
+ */
+ MoveFocusForward(): boolean;
+ /**
+ * Sets a value of the specified cell.
+ * @param visibleIndex An integer zero-based index that identifies the row containing the processed cell.
+ * @param columnFieldNameOrId A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ * @param value An object that contains the new cell value.
+ */
+ SetCellValue(visibleIndex: number, columnFieldNameOrId: string, value: Object): void;
+ /**
+ * Sets the value of the specified cell.
+ * @param visibleIndex An integer zero-based index that identifies the row containing the processed cell.
+ * @param columnFieldNameOrId A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ * @param value An object that contains the new cell value.
+ * @param displayText A string value that specifies the cell display text.
+ * @param cancelCellHighlighting true to cancel highlighting of the modified cell, false to highlight the modified cell.
+ */
+ SetCellValue(visibleIndex: number, columnFieldNameOrId: string, value: Object, displayText: string, cancelCellHighlighting?: boolean): void;
+ /**
+ * Gets the value of the specified cell.
+ * @param visibleIndex A zero-based integer value that specifies a visible index of a row containing the processed cell.
+ * @param columnFieldNameOrId A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ * @param initial true, to return the initial (server) value; false, to return a value currently contained on the client side (modified value).
+ */
+ GetCellValue(visibleIndex: number, columnFieldNameOrId: string, initial?: boolean): Object;
+ /**
+ * Gets information about the cell currently being edited.
+ */
+ GetEditCellInfo(): ASPxClientGridViewCellInfo;
+ /**
+ * Returns a value that indicates whether the grid has changed data.
+ */
+ HasChanges(): boolean;
+ /**
+ * Returns a value that indicates whether the specified row has changed data.
+ * @param visibleIndex An integer value that specifies the visible index of a row.
+ */
+ HasChanges(visibleIndex: number): boolean;
+ /**
+ * Returns a value that indicates whether the specified data cell's data has been changed.
+ * @param visibleIndex An integer value that specifies the visible index of a row.
+ * @param columnFieldNameOrId A string value that identifies the column by the name of the data source field to which the column is bound, or by the column's name.
+ */
+ HasChanges(visibleIndex: number, columnFieldNameOrId: string): boolean;
+ /**
+ * Resets changes in the specified row.
+ * @param visibleIndex An integer value that specifies the visible index of a row.
+ */
+ ResetChanges(visibleIndex: number): void;
+ /**
+ * Resets changes in the specified cell.
+ * @param visibleIndex An integer value that specifies the visible index of a row containing the processed cell.
+ * @param columnIndex A string value that specifies the field name or unique identifier (the column's Name property value) of a column containing the processed cell.
+ */
+ ResetChanges(visibleIndex: number, columnIndex: number): void;
+ /**
+ * Switches the specified cell to edit mode.
+ * @param visibleIndex A zero-based integer value that specifies the visible index of a row containing the processed cell.
+ * @param columnIndex A zero-based integer value that identifies the column which contains the processed cell in the column collection.
+ */
+ StartEdit(visibleIndex: number, columnIndex: number): void;
+ /**
+ * Ends cell or row editing.
+ */
+ EndEdit(): void;
+}
+/**
+ * A client-side equivalent of the ASPxVerticalGrid object.
+ */
+interface ASPxClientVerticalGrid extends ASPxClientGridBase {
+ /**
+ * Provides access to the batch editing client API.
+ * Value: A object that exposes the batch editing client API methods.
+ */
+ batchEditApi: ASPxClientVerticalGridBatchEditApi;
+ /**
+ * Occurs when a custom command button has been clicked.
+ */
+ CustomButtonClick: ASPxClientEvent>;
+ /**
+ * Fires after the selection has been changed.
+ */
+ SelectionChanged: ASPxClientEvent>;
+ /**
+ * Occurs when a grid switches to batch edit mode.
+ */
+ BatchEditStartEditing: ASPxClientEvent>;
+ /**
+ * Occurs when a grid leaves the batch edit mode.
+ */
+ BatchEditEndEditing: ASPxClientEvent>;
+ /**
+ * Enables you to prevent a batch edit confirmation message from being displayed.
+ */
+ BatchEditConfirmShowing: ASPxClientEvent>;
+ /**
+ * Enables you to provide navigation for editors contained in a templated cell in Batch Edit mode.
+ */
+ BatchEditTemplateCellFocused: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before data changes are saved in batch edit mode.
+ */
+ BatchEditChangesSaving: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before data changes are canceled in batch edit mode.
+ */
+ BatchEditChangesCanceling: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before a record is inserted in batch edit mode.
+ */
+ BatchEditRecordInserting: ASPxClientEvent>;
+ /**
+ * Occurs on the client side before a record is deleted in batch edit mode.
+ */
+ BatchEditRecordDeleting: ASPxClientEvent>;
+ /**
+ * Enables you to specify whether record data is valid and provide an error text.
+ */
+ BatchEditRecordValidating: ASPxClientEvent>;
+ /**
+ * Enables you to prevent rows from being sorted.
+ */
+ RowSorting: ASPxClientEvent>;
+ /**
+ * Fires on the client side before the expansion state of a row is changed via end-user interaction.
+ */
+ RowExpandedChanging: ASPxClientEvent>;
+ /**
+ * Fires on the client side after a row's expansion state has been changed by end-user interaction.
+ */
+ RowExpandedChanged: ASPxClientEvent>;
+ /**
+ * Fires on the client when a record is clicked.
+ */
+ RecordClick: ASPxClientEvent>;
+ /**
+ * Fires on the client when a record is double clicked.
+ */
+ RecordDblClick: ASPxClientEvent>;
+ /**
+ * Occurs when a callback for server-side processing is initiated.
+ */
+ BeginCallback: ASPxClientEvent>;
+ /**
+ * Occurs on the client after a callback's server-side processing has been completed.
+ */
+ EndCallback: ASPxClientEvent>;
+ /**
+ * Fires on the client if any unhandled server error occurs during server-side processing of a callback sent by the ASPxClientVerticalGrid.
+ */
+ CallbackError: ASPxClientEvent>;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param row An ASPxClientVerticalGridRow object that represents the data row.
+ */
+ SortBy(row: ASPxClientVerticalGridRow): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param rowIndex An integer value that specifies the row's position within the row collection.
+ */
+ SortBy(rowIndex: number): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param rowFieldNameOrId A string value that specifies the row's field name or unique identifier (the row's Name property value).
+ */
+ SortBy(rowFieldNameOrId: string): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param row An ASPxClientVerticalGridRow object that represents the data row.
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(row: ASPxClientVerticalGridRow, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param rowIndex An integer value that specifies the row's position within the row collection.
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(rowIndex: number, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param rowFieldNameOrId A string value that specifies the row's field name or unique identifier (the row's Name property value).
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ */
+ SortBy(rowFieldNameOrId: string, sortOrder: string): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param row An ASPxClientVerticalGridRow object that represents the data row.
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(row: ASPxClientVerticalGridRow, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param rowIndex An integer value that specifies the row's position within the row collection.
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true, to clear any previous sorting; otherwise, false.
+ */
+ SortBy(rowIndex: number, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data row's values.
+ * @param rowFieldNameOrId A string value that specifies the row's field name or unique identifier (the row's Name property value).
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ */
+ SortBy(rowFieldNameOrId: string, sortOrder: string, reset: boolean): void;
+ /**
+ * Sorts data by the specified data row's values, and places the row to the specified position among the sorted rows.
+ * @param row An ASPxClientGridViewColumn object that represents the data column.
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based row's index among the sorted rows. -1 if data is not sorted by this row.
+ */
+ SortBy(row: ASPxClientVerticalGridRow, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Sorts data by the specified data row's values, and places the row to the specified position among the sorted rows.
+ * @param rowIndex An integer value that specifies the row's position within the row collection.
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex
+ */
+ SortBy(rowIndex: number, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Sorts data by the specified data row's values, and places the row to the specified position among the sorted rows.
+ * @param rowFieldNameOrId A string value that specifies the column's field name or unique identifier (the column's Name property value).
+ * @param sortOrder A string value that specifies the row's sort order ('ASC', 'DSC' or 'NONE').
+ * @param reset true to clear any previous sorting; otherwise, false.
+ * @param sortIndex An integer value that specifies the zero-based row's index among the sorted rows. -1 if data is not sorted by this row.
+ */
+ SortBy(rowFieldNameOrId: string, sortOrder: string, reset: boolean, sortIndex: number): void;
+ /**
+ * Returns the key value of the specified data row (record in the vertical grid).
+ * @param visibleIndex An integer value that specifies the record's visible index.
+ */
+ GetRecordKey(visibleIndex: number): string;
+ /**
+ * Adds a new record.
+ */
+ AddNewRecord(): void;
+ /**
+ * Deletes the specified record.
+ * @param visibleIndex An integer value that identifies the record.
+ */
+ DeleteRecord(visibleIndex: number): void;
+ /**
+ * Deletes a record with the specified key value.
+ * @param key An object that uniquely identifies the record.
+ */
+ DeleteRecordByKey(key: Object): void;
+ /**
+ * Selects all the unselected records within the grid.
+ */
+ SelectRecords(): void;
+ /**
+ * Selects the specified record displayed within the grid.
+ * @param visibleIndex A zero-based integer value that specifies the record's visible index.
+ */
+ SelectRecords(visibleIndex: number): void;
+ /**
+ * Selects the specified rercords within the grid.
+ * @param visibleIndices An array of zero-based indices that identify records within the grid.
+ */
+ SelectRecords(visibleIndices: number[]): void;
+ /**
+ * Selects or deselects the specified records within the grid.
+ * @param visibleIndices An array of zero-based indices that identify records within the grid.
+ * @param selected true to select the specified records; false to deselect the records.
+ */
+ SelectRecords(visibleIndices: number[], selected: boolean): void;
+ /**
+ * Selects or deselects the specified record within the grid.
+ * @param visibleIndex An integer zero-based index that identifies the record within the grid.
+ * @param selected true to select the specified record; false to deselect the record.
+ */
+ SelectRecords(visibleIndex: number, selected?: boolean): void;
+ /**
+ * Selects or deselects the specified records displayed within the grid.
+ * @param keys An array of objects that uniquely identify the records.
+ * @param selected true to select the specified records; false to deselect the records.
+ */
+ SelectRecordsByKey(keys: Object[], selected?: boolean): void;
+ /**
+ * Selects or deselects the specified record displayed within the grid.
+ * @param key An object that uniquely identifies the record.
+ * @param selected true to select the specified record; false to deselect the record.
+ */
+ SelectRecordsByKey(key: Object, selected?: boolean): void;
+ /**
+ * Selects the specified records displayed within the grid.
+ * @param keys An array of objects that uniquely identify the records.
+ */
+ SelectRecordsByKey(keys: Object[]): void;
+ /**
+ * Selects a grid record by its key.
+ * @param key An object that uniquely identifies the record.
+ */
+ SelectRecordsByKey(key: Object): void;
+ /**
+ * Deselects all the selected records within the grid.
+ */
+ UnselectRecords(): void;
+ /**
+ * Deselects the specified records (if selected) within the grid.
+ * @param visibleIndices An array of zero-based indices that identify records within the grid.
+ */
+ UnselectRecords(visibleIndices: number[]): void;
+ /**
+ * Deselects the specified record (if selected) within the grid.
+ * @param visibleIndex A zero-based integer value that specifies the record's visible index.
+ */
+ UnselectRecords(visibleIndex: number): void;
+ /**
+ * Deselects the specified records displayed within the grid.
+ * @param keys An array of objects that uniquely identify the records.
+ */
+ UnselectRecordsByKey(keys: Object[]): void;
+ /**
+ * Deselects the specified record displayed within the grid.
+ * @param key An object that uniquely identifies the record.
+ */
+ UnselectRecordsByKey(key: Object): void;
+ /**
+ * Deselects all grid records that match the filter criteria currently applied to the grid.
+ */
+ UnselectFilteredRecords(): void;
+ /**
+ * Selects the specified record displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the record's visible index.
+ */
+ SelectRecordOnPage(visibleIndex: number): void;
+ /**
+ * Selects or deselects the specified record displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the record's visible index.
+ * @param selected true to select the specified record; false to deselect the record.
+ */
+ SelectRecordOnPage(visibleIndex: number, selected?: boolean): void;
+ /**
+ * Deselects the specified record (if selected) displayed on the current page.
+ * @param visibleIndex A zero-based integer value that specifies the record's visible index.
+ */
+ UnselectRecordOnPage(visibleIndex: number): void;
+ /**
+ * Selects all unselected records displayed on the current page.
+ */
+ SelectAllRecordsOnPage(): void;
+ /**
+ * Allows you to select or deselect all records displayed on the current page based on the parameter passed.
+ * @param selected true to select all unselected records displayed on the current page; false to deselect all selected records on the page.
+ */
+ SelectAllRecordsOnPage(selected: boolean): void;
+ /**
+ * Deselects all selected records displayed on the current page.
+ */
+ UnselectAllRecordsOnPage(): void;
+ /**
+ * Returns the number of selected records.
+ */
+ GetSelectedRecordCount(): number;
+ /**
+ * Indicates whether or not the specified record is selected within the current page.
+ * @param visibleIndex An integer value that identifies the record by its visible index.
+ */
+ IsRecordSelectedOnPage(visibleIndex: number): boolean;
+ /**
+ * Returns the values of the specified data source fields within the specified record.
+ * @param visibleIndex An integer value that identifies the record.
+ * @param fieldNames The names of data source fields separated using a semicolon, whose values within the specified record are returned.
+ * @param onCallback An ASPxClientVerticalGridValuesCallback object that represents the JavaScript function which receives the list of record values as a parameter.
+ */
+ GetRecordValues(visibleIndex: number, fieldNames: string, onCallback: ASPxClientVerticalGridValuesCallback): void;
+ /**
+ * Returns the record values displayed within the current page.
+ * @param fieldNames The names of data source fields whose values are returned.
+ * @param onCallback A ASPxClientVerticalGridValuesCallback object that represents the JavaScript function which receives the list of record values as a parameter.
+ */
+ GetPageRecordValues(fieldNames: string, onCallback: ASPxClientVerticalGridValuesCallback): void;
+ /**
+ * Returns the number of records actually displayed within the active page.
+ */
+ GetVisibleRecordsOnPage(): number;
+ /**
+ * Returns the number of rows within the client vertical grid.
+ */
+ GetRowCount(): number;
+ /**
+ * Applies the specified search panel filter criterion to grid data.
+ * @param value A string value that specifies the filter criterion.
+ */
+ ApplySearchPanelFilter(value: string): void;
+ /**
+ * Applies the specified filter expression to the ASPxVerticalGrid.
+ * @param filterExpression A string value that specifies the filter expression.
+ */
+ ApplyFilter(filterExpression: string): void;
+ /**
+ * Clears the filter expression applied to a client vertical grid.
+ */
+ ClearFilter(): void;
+ /**
+ * Sets input focus to the grid.
+ */
+ Focus(): void;
+ /**
+ * Sends a callback to the server and generates the server-side CustomCallback event, passing it the specified argument.
+ * @param args A string value that represents any information that needs to be sent to the server-side CustomCallback event.
+ */
+ PerformCallback(args: string): void;
+ /**
+ * Selects the specified page.
+ * @param pageIndex An integer value that specifies the active page's index.
+ */
+ GotoPage(pageIndex: number): void;
+ /**
+ * Gets the index of the page currently being selected.
+ */
+ GetPageIndex(): number;
+ /**
+ * Gets the number of pages to which the grid's data is divided.
+ */
+ GetPageCount(): number;
+ /**
+ * Activates the next page.
+ */
+ NextPage(): void;
+ /**
+ * Activates the previous page.
+ */
+ PrevPage(): void;
+ /**
+ * Returns the index of the first record displayed within the vertical grid's active page.
+ */
+ GetTopVisibleIndex(): number;
+ /**
+ * Saves all the changes made and switches the grid to browse mode.
+ */
+ UpdateEdit(): void;
+ /**
+ * Cancels all the changes made and switches the ASPxVerticalGrid to browse mode.
+ */
+ CancelEdit(): void;
+ /**
+ * Updates data displayed within the grid.
+ */
+ Refresh(): void;
+ /**
+ * Returns the record values displayed within all selected records.
+ * @param fieldNames The names of data source fields separated by a semicolon, whose values within the selected records are returned.
+ * @param onCallback A ASPxClientVerticalGridValuesCallback object that represents the JavaScript function which receives the list of record values as a parameter.
+ */
+ GetSelectedFieldValues(fieldNames: string, onCallback: ASPxClientVerticalGridValuesCallback): void;
+ /**
+ * Returns key values of selected records displayed within the current page.
+ */
+ GetSelectedKeysOnPage(): Object[];
+ /**
+ * Sends a callback to the server and generates the server-side CustomDataCallback event.
+ * @param args A string value that is any information that needs to be sent to the server-side CustomDataCallback event.
+ * @param onCallback A ASPxClientVerticalGridValuesCallback object that is the JavaScript function which receives the information on the client side.
+ */
+ GetValuesOnCustomCallback(args: string, onCallback: ASPxClientVerticalGridValuesCallback): void;
+ /**
+ * Returns the editor used to edit the specified row's values.
+ * @param row An ASPxClientVerticalGridRowobject that specifies the required row within the client grid.
+ */
+ GetEditor(row: ASPxClientVerticalGridRow): ASPxClientEdit;
+ /**
+ * Returns the editor used to edit the specified row's values.
+ * @param rowIndex An integer value that specifies the row's position within the rows collection.
+ */
+ GetEditor(rowIndex: number): ASPxClientEdit;
+ /**
+ * Returns the editor used to edit the specified row's values.
+ * @param rowFieldNameOrId A string value that specifies the row's field name or unique identifier (the row's Name property value).
+ */
+ GetEditor(rowFieldNameOrId: string): ASPxClientEdit;
+ /**
+ * Displays the Filter Control.
+ */
+ ShowFilterControl(): void;
+ /**
+ * Hides the Filter Control.
+ */
+ CloseFilterControl(): void;
+ /**
+ * Enables or disables the current filter.
+ * @param isFilterEnabled true to enable the current filter; otherwise, false.
+ */
+ SetFilterEnabled(isFilterEnabled: boolean): void;
+ /**
+ * Returns the client row that resides at the specified position within the row collection.
+ * @param rowIndex A zero-based index that identifies the row within the row collection (the row's Index property value).
+ */
+ GetRow(rowIndex: number): ASPxClientVerticalGridRow;
+ /**
+ * Returns the row with the specified unique identifier.
+ * @param rowId A string value that specifies the row's unique identifier (the row's Name property value).
+ */
+ GetRowById(rowId: string): ASPxClientVerticalGridRow;
+ /**
+ * Returns the client row which is bound to the specified data source field.
+ * @param rowFieldName A string value that specifies the name of the data source field to which the row is bound (the row's fieldName property value).
+ */
+ GetRowByField(rowFieldName: string): ASPxClientVerticalGridRow;
+ /**
+ * Returns the current vertical scroll position of the grid's content.
+ */
+ GetVerticalScrollPosition(): number;
+ /**
+ * Returns the current horizontal scroll position of the grid's content.
+ */
+ GetHorizontalScrollPosition(): number;
+ /**
+ * Specifies the vertical scroll position for the grid's content.
+ * @param position An integer value specifying the vertical scroll position.
+ */
+ SetVerticalScrollPosition(position: number): void;
+ /**
+ * Specifies the horizontal scroll position for the grid's content.
+ * @param position An integer value specifying the horizontal scroll position.
+ */
+ SetHorizontalScrollPosition(position: number): void;
+ /**
+ * Gets the value that specifies whether the required row is expanded.
+ * @param row An ASPxClientVerticalGridRowobject that specifies the row.
+ */
+ GetRowExpanded(row: ASPxClientVerticalGridRow): boolean;
+ /**
+ * Gets the value that specifies whether the row with the specified index is expanded.
+ * @param rowIndex An integer value specifying the row's index.
+ */
+ GetRowExpanded(rowIndex: number): boolean;
+ /**
+ * Gets the value that specifies whether the row with the specified field name or ID is expanded.
+ * @param rowFieldNameOrId A string value specifying the row's field name or ID.
+ */
+ GetRowExpanded(rowFieldNameOrId: string): boolean;
+ /**
+ * Sets a value indicating whether the row is expanded.
+ * @param row An ASPxClientVerticalGridRowobject that specifies the required row within the client grid.
+ * @param value true, to expand the row; otherwise, false.
+ */
+ SetRowExpanded(row: ASPxClientVerticalGridRow, value: boolean): void;
+ /**
+ * Sets a value indicating whether the row is expanded.
+ * @param rowIndex An integer value specifying the index of the row.
+ * @param value true, to expand the row; otherwise, false.
+ */
+ SetRowExpanded(rowIndex: number, value: boolean): void;
+ /**
+ * Sets a value indicating whether the row is expanded.
+ * @param rowFieldNameOrId A string value that specifies the row's field name or unique identifier (the row's Name property value).
+ * @param value true, to expand the row; otherwise, false.
+ */
+ SetRowExpanded(rowFieldNameOrId: string, value: boolean): void;
+}
+/**
+ * A client grid row.
+ */
+interface ASPxClientVerticalGridRow extends ASPxClientGridColumnBase {
+ /**
+ * Gets the name that uniquely identifies the row.
+ * Value: A string value assigned to the row's Name property.
+ */
+ name: string;
+ /**
+ * Gets the row's position within the collection.
+ * Value: An integer zero-bazed index that specifies the row's position within the collection.
+ */
+ index: number;
+ /**
+ * Gets the name of the database field assigned to the current row.
+ * Value: A string value that specifies the name of a data field.
+ */
+ fieldName: string;
+ /**
+ * Gets whether the row is visible.
+ * Value: true, to display the row; otherwise, false.
+ */
+ visible: boolean;
+}
+/**
+ * Represents a JavaScript function which receives the list of record values when the client GetSelectedFieldValues method is called.
+ */
+interface ASPxClientVerticalGridValuesCallback {
+ /**
+ * Represents a JavaScript function which receives the list of record values when the client GetSelectedFieldValues method is called.
+ * @param result An object that represents the list of record values received from the server.
+ */
+ (result: Object): void;
+}
+/**
+ * A method that will handle the CustomButtonClick event.
+ */
+interface ASPxClientVerticalGridRowCancelEventHandler {
+ /**
+ * A method that will handle the cancelable events of a client ASPxVerticalGrid row.
+ * @param source The event source.
+ * @param e An ASPxClientVerticalGridRowCancelEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientVerticalGridRowCancelEventArgs): void;
+}
+/**
+ * Provides data for the cancelable events of a client ASPxVerticalGrid row.
+ */
+interface ASPxClientVerticalGridRowCancelEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed client row.
+ * Value: An ASPxClientVerticalGridRow object that represents the processed row.
+ */
+ row: ASPxClientVerticalGridRow;
+}
+/**
+ * A method that will handle the RecordClick event.
+ */
+interface ASPxClientVerticalGridRecordClickEventHandler {
+ /**
+ * A method that will handle the RecordClick event.
+ * @param source The event source. This parameter identifies the ASPxClientVerticalGrid object that raised the event.
+ * @param e An ASPxClientVerticalGridRecordClickEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientVerticalGridRecordClickEventArgs): void;
+}
+/**
+ * Provides data for the RecordClick event.
+ */
+interface ASPxClientVerticalGridRecordClickEventArgs extends ASPxClientCancelEventArgs {
+ /**
+ * Gets the processed record's visible index.
+ * Value: An integer zero-based index that identifies the processed record.
+ */
+ visibleIndex: number;
+ /**
+ * Provides access to the parameters associated with the RecordClick event.
+ * Value: An object that contains parameters associated with the event.
+ */
+ htmlEvent: Object;
+}
+/**
+ * A method that will handle the CustomButtonClick event.
+ */
+interface ASPxClientVerticalGridCustomButtonEventHandler {
+ /**
+ * A method that will handle the CustomButtonClick event.
+ * @param source The event source. This parameter identifies the ASPxClientVerticalGrid object that raised the event.
+ * @param e An ASPxClientVerticalGridCustomButtonEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientVerticalGridCustomButtonEventArgs): void;
+}
+/**
+ * Provides data for the CustomButtonClick event.
+ */
+interface ASPxClientVerticalGridCustomButtonEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the value which identifies the record whose custom button has been clicked.
+ * Value: An integer value that identifies the record whose custom button has been clicked.
+ */
+ visibleIndex: number;
+ /**
+ * Gets the value which identifies the custom button.
+ * Value: A string value that identifies the clicked custom button.
+ */
+ buttonID: string;
+}
+/**
+ * A method that will handle the SelectionChanged event.
+ */
+interface ASPxClientVerticalGridSelectionEventHandler {
+ /**
+ * A method that will handle the SelectionChanged event.
+ * @param source The event source.
+ * @param e An ASPxClientVerticalGridSelectionEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientVerticalGridSelectionEventArgs): void;
+}
+/**
+ * Provides data for the SelectionChanged event.
+ */
+interface ASPxClientVerticalGridSelectionEventArgs extends ASPxClientProcessingModeEventArgs {
+ /**
+ * Gets the visible index of the record whose selected state has been changed.
+ * Value: An value that specifies the visible index of the record.
+ */
+ visibleIndex: number;
+ /**
+ * Gets whether the record has been selected.
+ * Value: true, if the record has been selected; otherwise, false.
+ */
+ isSelected: boolean;
+ /**
+ * Gets whether all records displayed within a page have been selected or unselected.
+ * Value: true if all records displayed within a page have been selected or unselected; otherwise, false.
+ */
+ isAllRecordsOnPage: boolean;
+ /**
+ * Gets whether a selection has been changed on the server.
+ * Value: true if a selection has been changed on the server; otherwise, false.
+ */
+ isChangedOnServer: boolean;
+}
+/**
+ * A method that will handle the RowExpandedChanged event.
+ */
+interface ASPxClientVerticalGridRowExpandedEventHandler {
+ /**
+ * A method that will handle the RowExpandedChanged event.
+ * @param source The event source.
+ * @param e An ASPxClientVerticalGridRowExpandedEventArgs object that contains event data.
+ */
+ (source: S, e: ASPxClientVerticalGridRowExpandedEventArgs): void;
+}
+/**
+ * Provides data for the RowExpandedChanged event.
+ */
+interface ASPxClientVerticalGridRowExpandedEventArgs extends ASPxClientEventArgs {
+ /**
+ * Gets the expanded row.
+ * Value: An ASPxClientVerticalGridRow object that represents the expanded row.
+ */
+ row: ASPxClientVerticalGridRow;
+}
+/**
+ * A method that will handle the RowExpandedChanging event.
+ */
+interface ASPxClientVerticalGridRowExpandingEventHandler