Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
get cell value of adding row
posted

Hello,

i'm using webdatagrid 2012 vol 1 with unbound columns, and i'd like to recalculate unbound columns when i exit cell editting mode in adding row .  Please tell me how to do that. Sorry for my poor English.

Parents
No Data
Reply
  • 37874
    posted

    Hi ThuyNga Nguyen,

    Thank you for posting in our forum.

    If you want to set value for an unbound column when adding new row, you could use the ExitingEditMode client-side event:

    function ExitingEditModeHandler(sender, eventArgs) {
        eventArgs.getCell().get_row().get_cellByColumnKey("Unbound_Field1").set_value("some text");
    }

    Please let me know if this helps.

Children