cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
genarich
Helper V
Helper V

Excel like Grid Form cannot accept null values

Hi,

 

I am trying to build an excel grid like form that mirrors how excel works. I was successfully able to edit, add, and delete a line item. However, when I try to edit it and change the cell into null values (no values), it did not accept it.

 

For example, if I delete the number values on the below item

1st step

genarich_0-1632325008303.png

2nd step

genarich_1-1632325084571.png

3rd step

Click on Save and exit grid view

genarich_2-1632325134557.png

 

It did not accept the null values as the value from the SP data source did not change. Please if anyone knows the workaround or solution on this, I would really appreciate! Thank you.

 

4 REPLIES 4
eka24
Super User
Super User

Check the Column in the sharepoint list if it is Required.

You can uncheck it to No in sharepoint for it to accept null

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Consider Checking My Youtube Channel

 

Yes, I already set those in SP list settings.

 

genarich_0-1632326861451.png

genarich_1-1632326923285.png

 

eka24
Super User
Super User

What is the formula for saving and what is the error message?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Here is the formula

ForAll(
    Filter(
        Gallery2_9.AllItems,
        Toggle2_9.Value = true
    ),
    Patch(
        'MP Excel - MP009',
        ThisRecord,
        {
            Date: DatePicker1_14.SelectedDate,
            'Total Submissions Received': Value(TextInput2_18.Text),
            'Total Submissions Expected': Value(TextInput2_22.Text),
            'Total Received (Previous Month)': Value(TextInput2_23.Text)
        }
    )
)

 

There was no error. It just retrieves the old number that was saved after hitting on the Save button, which should not be the case because I already have deleted it. 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,101)