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
80
Hide/Show fields based on dropdown field on the dialog when editing/creating row
posted

Hi,

I'm new to using Infragistics in my asp.net MVC app. I have an IgGrid with few fields among which is a dropdown list. The editMode of the grid while updating is a dialog. I need few fields to be hidden/showing depending on the value selected on the dropdown. Is this possible?

Regards,

Guru

Parents Reply
  • 485
    Offline posted in reply to Guruprasad Srinivasamurthy

    CustomComboMvcApplication1.zip

    Hello Guruprasad,

    I am uploading the MVC sample as I promised you. When you click on a row and the edit dialog opens, if the value of "Worldwide Shipping" column is "Yes", then "Shipping Date" is a required field. If it is "No", then the input is disabled.

    I am using some custom event handlers and "igValidator" to do this.

    Also notice I am using a formatter function to display the "igCombo" values correctly in the igGrid.

    Best Regards,

    Vasil Pavlov

    Associate Software Developer

    Infragistics, Inc.

Children