SharePoint List dropdown/choice (colours) - list

I would like to know if its possible to have a drop down field/column in SharePoint list that instead of having text choices to select from, the choices are graphics/images (green, red, amber). Or how about having a three divs as choices and each div will have the desired color.
Is any of this possible?
Any suggestion would be appreciated, thanks in advance

I think you cant provide color coding to the choice filed directly
but there is one way to do something similar to this.
please look at this link
http://www.vishalseth.com/post/2008/11/02/Adding-Color-Columns-to-Sharepoint-lists.aspx
In this it will get the color by using calculated field value. you can customize this as per your requirement
Let me the outcome as i m also eager to know this
Thanks

Related

I want to turn this if formula into an array formula but cant seem to get it to auto populate down the rows

I want the driving distance between two address's and I am running a script that allows the following statement work.
This works but I have to drag the formula down when new rows are added from my mobile app into my sheet
=(IF(ISBLANK($AF2:$AF),"",DrivingMeters($E2:$E,$AF2:$AF)/1000))
This doesn't work
=ARRAYFORMULA(IF(ISBLANK($AF$2:$AF),"",DrivingMeters($E$2:$E,$AF$2:$AF)/1000))
I cant work out what I am doing wrong?
it could possible be you need to adjust your DrivingMeters custom formula to accept arrays. Please share the sheet or custom formula
try:
=ARRAYFORMULA(IF(AF2:AF="",, DrivingMeters(E2:E, AF2:AF)/1000))

Django-tables2 RowSpan

I tried to make a table with rowspan when the cells in the same column have the same value.
Like in this image
And i want to make it with django-tables2
I tried this code line but it shift the X1 to the field2 column at the second record.
Thanks in advance.
There is no support for rowspan in django-tables2. While adding such a feature is a theoretical possibility, I suspect it is non-trivial and will bring quite some complexity.
You are welcome to propose a patch by opening a pull request though, but I will only consider merging it after I can inspect the actual implementation (and documentation, tests).

PowerApps: Filter by user no delegation

Need some help with PowerApps - I am trying to filter the gallery where the Person column (ROMEmail) equals the logged in user.
This code is working, but the blue circle of death comes up - whilst in test at the moment, i dont have over 500 records, but will do within a month of trialling this
Any ideas on how to workaround this? Using a collection or variable perhaps? I haven't really used these yet so a detailed resolution would be greatly appreciated.
SortByColumns(Filter('Reviews', StartsWith(LocationName, TextSearchBox1.Text),ROMEmail.Email = User().Email), "Modified", If(SortDescending1, Descending, Ascending))
A collection would be your best choice.
To add a collection in your app replace the code where you grab your data by something like this:
ClearCollect(localData,'Reviews')
This collects all the data in a locally collection. The ClearCollect replaces all your data by the new ones.
After this you can sort and filter directly on your collection. For example in a gallery. Using your code it would look like this:
SortByColumns(Filter(localData, StartsWith(LocationName, TextSearchBox1.Text),ROMEmail.Email = User().Email), "Modified", If(SortDescending1, Descending, Ascending))

Can i change an item in a list from another list?

I´ve created a list in SharePoint. What i´ll like to do is create another list, and retrieve some information from one list to my new one, and be able to change the input data from list A in a single line of text.
So lets say, list A is PopStar, with columns like Genre "Rock", HairColor "Red" and GrammyCount "2".
In list B i only want textboxes to show whats in list A and be able to change (update) them, for example Genre to "Pop", HairColor to "Black" and GrammyCont to "8" ?
Is this possible?
i´m using office 365
In order to achieve exactly what you want you will require either a Workflow or an Event Receiver, however I assume you won't feel confident by struggling with such approaches, furthermore, there are some workarounds that could be very close to your requirement and maybe are even better solutions than the approach you suggest, in terms of maintenance, growth and upgrade.
I suggest to review topics like "SharePoint parent/child list webparts connections" or "sharepoint edit form add child items", here are two videos of which you can get some ideas.
https://www.youtube.com/watch?v=9PWIxk6rF-A
https://www.youtube.com/watch?v=-5CdjfLONgE
Take in count that you can do more than what is displayed in the videos, by example in the Edit Form you could add a webpart to display the Quick Edit View (Grid View) of the related list so the values can be edited in the same Form and thus removing the need to navigate to a second window.

How to edit a particular cell in listcontrol?

I am having a listcontrol where I am supposed to edit cell's of second column.
And this should be a list control but not a gridcontrol.
Is it possible to edit cell's of particular column in listcontrol ? If any way exist please let me know how to achieve it.
Any suggestions is appreciated.
Look at CListCtrl::SetItemText
(MSDN)
Use the second parameter to specify the column.
CQuickList, a CListCtrl derived control, allows in-place edit of subitems.