WijmoGrid

Posted by: ibbu432 on 21 April 2021, 10:26 pm EST

    • Post Options:
    • Link

    Posted 21 April 2021, 10:26 pm EST - Updated 3 October 2022, 4:56 am EST

    Hello Team,

    I have one button like Add Value. While click on Add value i need to add empty row to grid and need to enter values manually in empty columns.

    Need reference.

  • Posted 22 April 2021, 10:57 pm EST

    Hi Ibrahim,

    Please refer to the link below that fulfills your requirements:

    https://stackblitz.com/edit/angular-9-0-0-rc-1-jampje

    Regards,

    Ashwin

  • Posted 28 April 2021, 7:22 pm EST - Updated 3 October 2022, 4:56 am EST

    Hello Ashwin,

    How can i implement the drag and drop functionality for grid rows .In last column i have one image .Using/selecting that image need to move the rows.

    Thank you.

  • Posted 29 April 2021, 8:36 pm EST

    Hi,

    I would suggest you use the default drag/drop behavior of flexgrid instead of adding a custom column for drag/drop. You can use the allowDragging property of the FlexGrid for this:

    https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#allowdragging

    Note that the headersVisibility property should be set to All for this to work.

    ~regards

  • Posted 11 May 2021, 10:03 pm EST - Updated 3 October 2022, 4:56 am EST

    Hello Ashwin,

    1. click on Add Value able to add empty row its fine, As per my requirement 3rd column (In Use) read only ,so its always empty. Now i want to add another new row but i am unable to add. due to empty column . how can i add new row with one empty column.
    2. I have one cancel button below grid. After filling the data in columns, i have clicked the cancel button for closing the grid without saving the data. Now again i have opened the grid …Still i am able to see the old data. It should be empty grid.

    for both i need reference .

    Thanks,

    Ibrahim.

  • Posted 13 May 2021, 12:03 am EST

    Hi Ibrahim,

    Regarding 1, can you please explain what issue are you exactly facing? I also added a read-only column but I am able to add new rows without any issues.

    Regarding 2, you can save the original data in a different variable and when cancel is clicked, reset the grid’s data source to this.

    https://stackblitz.com/edit/angular-9-0-0-rc-1-pzzsqs

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels