web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Making an editable gri...
Power Apps
Unanswered

Making an editable grid in powerapps

(0) ShareShare
ReportReport
Posted on by 26

i am working on a payroll correction PowerApps where i need to make time in and time out entries screen for an employee and calculate the total hours worked where the time in and time out fields are time only fields so if any one knows how to make it please try it and reply to this question

i am attaching screen the screenshots of the screens to make below

 

thanks

time entries 1.png
time entries 2.png
Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @Ayush_Rathi,

     

    If you are using a collection to populate your grid.

    You can set the OnChange property of your dropdowns with: 

    Patch('Collection Name', ThisItem, {'Column Name': Self.Selected.Value})

     

    Then for your save button you can:

    Patch('Data Source', 'Collection Name')

     

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

  • Ayush_Rathi Profile Picture
    26 on at

    hi @AARON_C i am actually not getting how to make those time only value columns that appear in both the screenshots

     

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @Ayush_Rathi 

     

    Correct me if I am wrong.

    My understanding of the photos is that you want to go from what you currently have in the first screen shot to make it look like the second screen shot.

     

    Please share with me your table/list you have for time entries

  • Ayush_Rathi Profile Picture
    26 on at

    actually i have not made ant list as of now for that these screenshots are the sample of what i am trying to make but since PowerApps doesn't have time only fields i am stuck with how to make a SharePoint list for the same to store those time values and calculate hours worked from them

     

    as you can see in the second screenshot if we want to edit any existing time entries it has the fields to enter hours and minutes separately and as we save the row it displays the time as a proper single time value

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @Ayush_Rathi 

     

    To create the time, you would need to create a choice column in the sharepoint list and have one with values from 1-12 for hours and one with values from 0-59 for minutes.

     

    Essentially you need two columns for each time value you want. 

  • Ayush_Rathi Profile Picture
    26 on at

    but how to store those time value after choosing them from dropdown as a proper time value into a singe column

     

  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    @Ayush_Rathi 

     

    You can only save the time value as Text as there is no Time field/column.

    You could do this and save this as the TimeIn value as Text.

    $"{TimeInHour.Selected.Value} : {TimeInMinute.Selected.Value}"

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard