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.
Forums Home / Wijmo / General Discussion
Posted by: ibbu432 on 21 April 2021, 10:26 pm EST
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,
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