jQWidgets Forums

Forum Replies Created

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • in reply to: jqxNumberInput jqxNumberInput #106134

    angulardev19
    Participant

    Hi Peter,

    But it is automatically focused on it. I hadn’t written any code for the same. Any solution to stop it.

    Regards,

    in reply to: Grid Grid #106088

    angulardev19
    Participant

    Hi,

    Not worked for me.

    in reply to: Grid Grid #106087

    angulardev19
    Participant

    Hi,

    There is an error in the code like ‘$’.


    angulardev19
    Participant

    Hey Thanks For Replay we very appreciate
    we agree with your answer

    Once we are changing the password we are not able to get updated value in the validation. and how to compare new password field with confirm password in jqxgrid

    Code is:-

    {
    text: this.resourceModel.admn_usermng_unlockresethdr1_entnewpass, columntype: ‘custom’, datafield: ‘enterNewPassword’, sortable: false, menu: false,
    createwidget: (row: any, column: any, value: string, htmlElement: HTMLElement) => {

    let container = document.createElement(‘input’);
    container.className = ‘password’;
    container.setAttribute(‘type’, ‘password’);
    container.setAttribute(‘value’, value);
    htmlElement.appendChild(container);

    let options = {
    width: ‘100%’,
    height: ‘100%’,
    };

    jqwidgets.createInstance(‘.password’, ‘jqxPasswordInput’, options);
    },
    initwidget: (row: number, column: any, value: any, htmlElement: HTMLElement): void => {

    },
    },
    {
    text: this.resourceModel.admn_usermng_unlockuser_confirmpwd, datafield: ‘confirmPassword’, columntype: ‘template’,sortable: false, menu: false,

    createwidget: (row: any, column: any, value: string, htmlElement: HTMLElement) => {
    let container = document.createElement(‘input’);
    container.className = ‘password’;
    container.setAttribute(‘type’, ‘password’);
    container.setAttribute(‘value’, value);
    htmlElement.appendChild(container);

    let options = {
    width: ‘100%’,
    height: ‘100%’,
    };

    jqwidgets.createInstance(‘.password’, ‘jqxPasswordInput’, options);

    },
    initwidget: (row: number, column: any, value: any, htmlElement: HTMLElement): void => {

    let newPass = this.lockedUsersListGrid.getcellvalue(row, ‘enterNewPassword’);
    debugger;
    },

    validation: (cell: any, value: string): any => {
    debugger;
    let newPass = this.lockedUsersListGrid.getcellvalue(cell.row, ‘enterNewPassword’);
    const rowValue = cell.row.bounddata;
    if (newPass !== value && value != null) {
    this.hasError = true;
    return {
    message: ‘Password did not match’, result: false
    };
    }
    this.hasError = false;
    return true;
    }
    }

    in reply to: Grid Grid #105554

    angulardev19
    Participant

    Hi Todor,

    Thanks, it works. Can I fire the change event for the same? I tried it but it won’t work. Let me know as soon as possible.

    Regards,


    angulardev19
    Participant

    Hi Todor,

    Worked like a charm. Thanks.
    Just one question after adding a new row in nested grid how can I fire validation for a newly added row. Let me know as soon as possible.

    Regards,


    angulardev19
    Participant

    Hi Todor, I think this is not the correct nested grid.

    Check this Link. nested grid

    I want to add a button in every nested grid above or below and on click on that button I want to add a new row into this particular nested grid.

Viewing 7 posts - 16 through 22 (of 22 total)