StrataFrame Forum

StrataListView - No InsertAt?

http://forum.strataframe.net/Topic31206.aspx

By Marcel Heitlager - 5/6/2012

I can find the RemoveAt, but what about the InsertAt or insert?  Trying to use the Stratalistview to sort items.

Any ideas?

Thanks

Marcel
By Ivan George Borges - 5/6/2012

Hi Marcel.

You will add Items and Subitems to the Stratalistview.
Check this post for a sample on it:

http://forum.strataframe.net/FindPost24981.aspx
By Marcel Heitlager - 5/7/2012

Thanks Ivan,

I had actually used the sample to guide me in the initial creation of my stratalistviews. However, in some of my lists I need to allow the user to rank the items by order of importance (as in the DDT). 

Would it be best to first change the ranking of the rows in the business object with a bo_ranking column, sort the business object based on that, and then re-query the the stratalistview?  Or is there a more preferred way of doing it?

Marcel
By Ivan George Borges - 5/7/2012

I haven't played with the sort capabilities of the StrataListview yet, but have a look at this post from Trent. This might get you into the right direction. Since I will be out of the office tomorrow, I thought of leaving this here so you can have a try:

http://forum.strataframe.net/FindPost23775.aspx