![]() ![]() You can disable it by selecting PrototypeBindSource1 in the Structure view, clicking on the FieldDefs node, and then on the 0 - ColorsName1 subnode. While the ColorsName sample data is sorted by default, 'repeat' and 'shuffle' are enabled by default which you will have to disable for sorting. With the ItemHeader.Text binding selected, I added the following custom expression to the FillHeaderCustomFormat field: SubString(%s, 0, 1). ![]() In the LiveBindings Designer (View-LiveBindings Designer), I bound ColorsName into ItemHeader.Text and also into Item.Text. I then right-clicked on my PrototypeBindSource component and added ColorsName1. I created a new mobile application, added TListView, set alignment to alClient and added a PrototypeBindSource component to it. The first example uses a TListView that is aligned to the client and bound into sample data. It will only take a couple of steps to enable it for data that is already alphabetically sorted, and an additional step for unsorted data.Īdding A-Z grouping to your ListView headers for alphabetically sorted data Using LiveBindings, custom LiveBindings expressions and TListView, it it easy to add ListView headers to your FM mobile application that support alphabetical ordering and various other customizations. Working with Custom LiveBindings Expressions ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |