Strataframe Listview Questions


Author
Message
Thomas Holste
Thomas Holste
Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)Advanced StrataFrame User (534 reputation)
Group: StrataFrame Users
Posts: 144, Visits: 618
Hi there,

after a while I started working on my new app again and encountered some

problems I can't solve by myself. I started an app which uses the

strataframe listview which really impresses me because of the wonderful

layout/design-options but I got two problems where I  need some help.

At first I'd like to tell you that the listview is populated by adding item with

the listview.items.add-method.

The first problem is, that I can not navigate with the up- and down-keys

through the list. I had a look at your listview-samples, navigating with up-

and down-key doesn't work there too. Am I doing something wrong or do

I have to implement this by myself. If yes, how is this done?

The second problem ist that I haven't figured out yet how to determine

the position within the list which is currently selected. For example say

that the listview has 15 items, how do I determine the selected item?

I checked all properties and their values in the debugger, but haven't

found a way yet.

Thanks a lot for your help and best regards

Thomas
Reply
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Thomas,

For the first problem, I frankly don't know the answer.  Probably the Up/Down navigation is not supported.  A while ago, the SF team released a beta for a new Enhanced Listview which is much faster and has more features that the standard SF listview, but all population is done manually which may not be an issue with you.

Trent posted a sample application here which will give you more details on how to populate the StrataListView.  Be aware that some of the automation build in the standard SF listview are not yet implemented in the StrataListView.

For the second problem, you should be using one of the listview population methods instead using the Item.Add().  When the SF listview is bounded to a Business Object, some nice automation can be done like automatically moving the record pointer on the BO assigned to the listview, so when you navigate the listview you can make a reference to any property to its BO and you will be in the record that was selected in the listview. 

There are many samples and thread about both listviews to help you compare with your code and use them as designed to take advantage of the whole SF framework.  I love SF Listview, but when you need to load over thousand records, then the StrataListview will just fly over the standard one, performance is very noticeable.

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search