how to conditionnally lock cells on google sheet - google-sheets

i tried for many days to find a solution for my problem without any results
my issue is that i want to lock a cell as soon as it's filled with data(the data is a drop-down menu that the client choose from it to fill the cell)
this cell i want it to be a prove of payment(from the client)that the client received his payment, so it can't be modified after he made his answer on it
i tried many things that i found while searching but none is working as i want it to be or it's a formatting conditions that depends on colors
thank you

Related

How can I replicate the "Spoiler" function that most forums have, on to a Spreadsheet?

This is one of the rare cases where I don't care how or where, I just want to be able to do this. By that I mean it can be either on Google Sheets or Online Excel (because I don't have the MS Suite, I would prefer GSheets since every time I search for help on Excel, I get solutions for the Program version that uses features not in the Online one)
Basically, I want to re-create the web page of a forum... but on a spreadsheet. The reason for that is because I want to create a catalog of sorts that is related to that forum, without being restricted to the forum and to be more organized. Since I only care about the body, I just took a screenshot and essential cut a hole where the "body text" is (ideally I would like all the buttons to be images you can click and would take you the actual forum, but I'm not concerned now).
Right now, what I want to do is to preferable create a button that can hide/show text like a Spoiler button. And I don't mean the type that changes the text color to be the same as the background making it unreadable, I mean the ability to collapse/expand the text.
My current solution is using Google Sheets and I'm grouping rows and using the +/- button on the left side. That has worked pretty well so far but it has 2 glaring issues:
#1 The +/- button is all the way to the left side
#2 And that button is inaccessible to people that have "viewing only" rights to the sheet, making this kind of a pain to use for people.
For #1 I have created a "drawing" that's just a straight line going all the way to the button to the side.
And for #2, because I want to make this sheet as dumbproof as possible, I'll have to write that they'll have to duplicate the sheet in order to use it. Which is going to take me a couple of days until I make a dumbproof "guide" on how to do that.
Ultimately, currently the best solution would be to create "buttons" where each one can collapse/expand a specific grouping of rows. But even just to create buttons I have to learn scripts, which I don't know how to... I don't even know where you're supposed to write the scripts to begin with.
Currently I'm pretty satisfied with what I've made so I'm not too pressed if I don't find a better solution. No you can't look at it because it's pretty sensitive.

iMessage like time-showing when a message is swiped in TableView

I am implementing a way for the user to see a time-stamp for all messages when the any message is swiped to the left. Similar to the way iMessage does it.
(source: tekrevue.com)
Approach 1:
I invested some time in researching on StackOverflow. The nearest I got an answer to my problem:
How to Show time like iMessage iPhone app in UITableView
This question was asked in 2014, is meant for Objective-C and the only answer suggests to implement a Pod. I am gonna be honest with you, I am not a big fan of Pods. They do slow down my project.
(To be fair, the GitHub mentioned in the comments of the linked question was updated to Swift)
Approach 2:
After the first Approach, I was thinking about using Cell-Actions / Swipe-able TableView Cells.
The idea was to replace the buttons by a single label. This would get the job done but it wouldn't "feel the same" as the users are used to from iMessage. Only one message would slide instead of all messages and when the user stops swiping, the cells/messages wouldn't animate back to their standard position.

Making dynamically updating content in a UITableView accessible for VoiceOver

I'm trying to make my app more accessible and so far the standard accessibility things like labels and hints are doing wonders. I'm hitting a problem however with dynamically updating content that's displayed in a UITableView.
Each row of the table updates every second or so, but if I try to create each cell's accessibilityLabel at this point then I find that there is a problem with the VoiceOver reading out the selected label keeps interrupting itself as the label contents changes so the system just starts reading the label content from the beginning again (actually an odd quirk shows the voice over sometimes works correctly for the first cell that was selected, but upon selecting a new cell this bug returns).
I've tried to see if there's anyway to try and understand whether VoiceOver is currently active but as far as I can see there is only a notification posted when VoiceOver finishes
UIAccessibilityAnnouncementDidFinishNotification
There's no equivalent notification for when VoiceOver begins. So there's no way for my TableViewController to know that VoiceOver is currently active and that it shouldn't update any accessibilityLabels.
I'd hoped I could at least detect that one of my TableView cells was the selected accessibilityElement using the
accessibilityElementIsFocused
method. However in all my testing I've not been able to see this reliably fire for a custom UITableViewCell.
I also tried implementing the getter for accessibilityLabel for my custom cell hoping this may work, but sadly the same behaviour occurs.
The only solution I'm left with is a user configurable frequency for dynamic content accessibility updates, say 5, 10, 20 seconds... which can block me updating my label until I know that the last changed content would have definitely been read out. Actually even this could be interrupted if the user chose to select a cell at say 8 seconds after the last update, 2 seconds in for a 10 second limit and the label would update causing the voice over to restart.
Has anyone any ideas of how best to handle this dynamic updating content? I'm presuming the tableview cells are complicating matters a little, but in general I just don't understand how apple expects you to handle dynamic content. All it needs to solve this is another notification
UIAccessibilityAnnouncementDidStartNotification
Or even better a method to enquire as to whether VoiceOver is currently active. But I don't seem to be able to find any!
Thanks for your time, would really appreciate any tips on this. Cheers!
You want to do two things. First you want to take advantage of the "Updates Frequently" trait. This should improve the behavior of the app when the content is on.
This should help a lot. Then you alse need to provide a way for user to halt the updating content. Independent of whether you do the above, this is an absolute requirement to satisfy WCag 2.0 guideline 2.2.2.

adding a text field on press of a button on a view in iOS

I have made a resume maker app in iOS. It only has two fields for the work experiences. However, a user can have more than one experience and the number is uncertain. So, my app is restricting a user to enter the information for only two work experiences. Now my boss wants me to add a button and when I tap it one more field should be displayed for the experience. So, this will allow a user to add as much experiences as he wants. I have searched a lot about it but couldn't find anything helpful. If you can kindly lead me to any resource or just give a demo.
One approach you can do is to have a UITableView and have each single experience populated in each cell. Then when an add button is pressed, a view like UIPopover can appear and let the user fill out the info. After the form is filled, one extra cell would be generated to display the new experience. This approach works with deleting as well.

A UI control for Ipad to brose a list of images

I have made the decision to use monotouch to develop an application that browses an rss feed and displays a grid of images much like browsing the picture library actually on the device.
My issue is that I have NO idea (even after extensive googling) as to what control I should use.
I want to be able to swish through the list of images which I really wanted in a UITableView BUT all documentation insists that UITableView only has 1 column :(
I dont want to get too complicated with my requirement at this stage for unloading and loading resource as the images go off screen but if anyone has any pointers for me in starting this and what control I should go for I would be grateful.
My initial thoughts are perhaps having n images in every cell and the cells are very wide (would an ipad only display those it can and automatically allow swiping to the others off screen?)
Many thanks
Richard
The UItableView is only one column, but you can define the UITableViewCell to your own class and allow any number of elements across it.
As to whether something goes off the screen, that is entirely down to your application.
Have a look at the developer videos on iTunes, especially the beginning table views sections, that should point you in the right way

Resources