Wijmo flexgrid dropdowns should not have the value in the new row

Posted by: samvarth123 on 24 October 2018, 8:22 am EST

    • Post Options:
    • Link

    Posted 24 October 2018, 8:22 am EST

    Wijmo flexgrid dropdowns should not have the value in the new row

    i.e if a value is selected from dropdown in one row and in a new row we try to select the drop down we should not have the value listed in the dropdown selected in previous row.

  • Posted 24 October 2018, 10:57 am EST

    Using angular 6

  • Posted 25 October 2018, 2:08 am EST

    Hi,

    Could you please tell about how dropdown’s are implemented in your application? We tried to replicate the issue using dataMap but were unable to do so.

    Please have a look at the following sample(used for testing) and let know about the changes we need to make in the sample so that it replicates the issue:

    https://stackblitz.com/edit/angular-whhvqz?file=src%2Fapp%2Fapp.component.ts

    ~Sharad

  • Posted 25 October 2018, 10:27 am EST

    Thanks Sharad. My requirement is once we select US or Germany in one row I have a requirement that they should not be shown in the new row when we select the country in the existing rows.

    Is that possible ?

    I don’t want to display the same country in all rows.Once a country is selected in one row it should not be shown in further rows is my requirement.

  • Posted 26 October 2018, 1:52 am EST

    You may handle the beginningEdit event and update the list in the handler to achieve the required functionality.

    Please refer to the updated sample: https://stackblitz.com/edit/angular-tk4kwp?file=src%2Fapp%2Fapp.component.ts

    Also if your main objective is to validate user input then you may also refer to the following sample: https://demos.wijmo.com/5/SampleExplorer/SampleExplorer/Sample/GridValidation

    ~Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels