sarahc
Member
I have a client with a panel view + that shows a list of items. Currently the PV+ uses the piloted list selector with 10 items. The customer now wants to aphabetically sort the list, only display items with entries, and expand the list size to 100 items.
I figure if I can sort the items that'll take care of not displaying the empty field becuse I'll adjust the visible length of the list. Problem is I'm a bit stuck on how to sort the items as I've never done this sort of thing in a PLC before. I was thinking along the lines of using the decimal value of the 1st char in the string and move the items into a temp array before moving sorted list back?
Any ideas?
I figure if I can sort the items that'll take care of not displaying the empty field becuse I'll adjust the visible length of the list. Problem is I'm a bit stuck on how to sort the items as I've never done this sort of thing in a PLC before. I was thinking along the lines of using the decimal value of the 1st char in the string and move the items into a temp array before moving sorted list back?
Any ideas?