API Docs for:
Show:

ManageOwner Class

To perform CRUD On Manage Owner.

Constructor

ManageOwner

()

Methods

AddCustDetl

()

This function create a popup for Add Driver Detail.

AddCustomer

(
  • e
)

Function to Show the Detail in pop up on Add Csutomer Button Click in Kendo grid.

Parameters:

  • e Object

    Contains Complete Row Detail Of Kendo grid.

AddInList

()

This Function is used to save or update the record of Vechile and Driver.

addKendoWindowToDiv

(
  • divId
  • titleText
  • width
  • left
  • top
)

Function to Add Kendo Window.

Parameters:

  • divId String

    Id of Kendo Window

  • titleText String

    Title Of Kendo Window

  • width String

    width Of Kendo Window

  • left String

    left Of Kendo Window

  • top String

    top Of Kendo Window

AddVechileDetl

()

This function create a popup for Add Vechile Detail.

AllValid

()

This Function is used to Check the validation for Add or Updating Owner Detail

btnAddOwnerDetail

()

This function is used to Add the New Owner.

btnCancelAddUser

()

This function is used to Cancel the Operation.

btnSaveCustDetail

()

Function used to save or update (in case of newly added Driver) the Driver in grid.

btnSaveVechileCust

()

Function used to save or update (in case of newly added Vechile) the Vechile Including its Driver in grid.

btnUndoVanDealerDetail

()

This Function is used to Reset the Driver Detail

btnUndoVechDetail

()

This Function is used to Reset the Driver Detail

CheckChasisNoInGrid

(
  • ChasisNo
)

This Function is used to check whether Chasis no is exist in grid or not

Parameters:

  • ChasisNo String

    Vechile ChasisNo No.

CheckDUP

(
  • type
)

This Function is used to check whether Vechile Registration No., Vechile Chasis No. or Owner Mobile No is already Added or available in DB.

Parameters:

  • type String

    = 1(For Vechile Registration No.),type = 2(For Vechile Chasis No.),type = 3 (for Owner Mobile No.)

CheckRegNoInGrid

(
  • vVechileRegdNo
)

This Function is used to check whether Reg. No. is exist in grid or not.

Parameters:

  • vVechileRegdNo String

    Vechile Registration No.

CheckVechileValidation

()

This Function is used to Check the validation for Add or Updating Vechile and Driver Detail

closeWindow

(
  • divId
)

Function to Close the kendo Window.

Parameters:

  • divId String

    Id of Kendo Window

DeleteCust

(
  • e
)

Function To Delete the selected Row in Driver grid

Parameters:

  • e Object

    Contains Information about selected Row of Kendo Grid

DeleteVechile

(
  • e
)

Function To Delete the selected Row in vechile grid

Parameters:

  • e Object

    Contains Information about selected Row of Kendo Grid

editCust

(
  • e
)

Function To Edit Driver Detail

Parameters:

  • e Object

    Contains Information about selected Row of Kendo Grid

editVechile

(
  • e
)

Function To Edit Vechile Detail

Parameters:

  • e Object

    Contains Information about selected Row of Kendo Grid

getOwnerList

()

Function to get Owner list.

GetProductVar

()

This Function is used to get the product Varient based on Model No.

HideValidMsg

()

This Function is used to hide the validation Message of owner Detail

HideVechileValidationMsg

()

This Function is used to Hide the validation message for Add or Updating Vechile and Driver Detail

initSearch

()

This function is used to Search the data In Owner List

isNumber

(
  • e
  • t
)

This function is Used to Check Whether the keypress No is Entered or Not.

Parameters:

  • e Object

    Get Event Detail

  • t Object

    Get Textbox Detail

LoadCityList

(
  • stateId
)

Function to load city list state wise.

Parameters:

  • stateId String

    selected state id

loadStateChoices

()

This Function is used to Get The Load State

onRowBoundCust

(
  • e
)

Function of Binding Of Grid And set Delete Button In Driver Grid.

Parameters:

  • e Object

    Contains Complete kendo grid property

onRowBoundVechile

(
  • e
)

Function of Binding Of Grid And set Delete Button In Vechile Grid.

Parameters:

  • e Object

    Contains Complete kendo grid property

RowSelected

()

Function to Get The Call When the Kendo Grid Row is Selected.

SaveRecord

()

This Function is used to save the record of owner.

SetDupValueFalse

()

This Function is used to intialize the vRegNoDup and vChasisNoDup so that it should be check on blur or on save in button click in Vechile and Driver

SetKendoWindowTitle

(
  • divId
  • titleText
)

Function to Set Kendo Window Title.

Parameters:

  • divId String

    Id of Kendo Window

  • titleText String

    Title Of Kendo Window

validateEmail

(
  • email
)

This Function is used to Validate the Email Id

Parameters:

  • email String

    text of Email

Events

keyup

Bind textbox keyup event for searching.