BlazorDatasheet icon indicating copy to clipboard operation
BlazorDatasheet copied to clipboard

Bug: Insert/Remove Cols/Rows not working

Open lucasmoraiss opened this issue 1 year ago • 2 comments

When implementing the Inserting/Removing Cols/Rows button, I noticed that it wasn't working properly, it was adding blank spaces and it actually required the user to select a field to work, I think it could just add a new one to the end.

I tried it out on your deployed version and got the same result:

image

I also noticed that when you scroll to the start of the page and then scroll back, the insert/remove action that you did will appear, instead of the blank spaces. Maybe this help you to debug and find the solution quicker. It's just pretty unconsistent.

lucasmoraiss avatar May 13 '24 19:05 lucasmoraiss

I saw that too. I think it is because the sheet is declared with only 100 rows and columns:

Sheet = new Sheet(100, 100);

ADefWebserver avatar May 13 '24 22:05 ADefWebserver

@lucasmoraiss thanks for reporting, it's a bug with the code that refreshes the view after changes have been made. I'll have a look at it.

anmcgrath avatar May 14 '24 09:05 anmcgrath