![]() So, my example above has a repeater list, named “repListDeparting” with 14 rail stations of varying distances away from your current location (I think somewhere in Scotland?) If you look at the interaction code for the repeater, the Item Loaded event sets the text on two widgets, according to the “Location” column cell and the “Distance” column cell in the repeater datasheet (located on the Style pane.) It also sets the text on two external widgets, “ItemCount” and “visibleItemCount”. That’s where Local Variables come in, and is a common source of confusion and bugs. One of the first tricks to learn is how to properly point to that repeater widget when “performing functions” on it -whether within or outside of the repeater. That said, let’s see if we can start here… When you say, “repeater function” what do you mean? Applying a filter within a repeater versus outside a repeater? Or, “any and all” actions which can apply to repeaters? In general, anything you can do within a repeater you can do outside of that repeater, with some caveats and gotchas. Of course, you can and should search the forum for your questions–chances are it’s been asked and answered already. rp file and let forum users offer solutions and explanations. ![]() (just like you would gain knowledge in algebra, physics, chemistry, etc.) …And the best way to get specific here is to upload an. I would say the best way to understand this concept more generally is to get very detailed on this specific case, then other cases, then others, then test out stuff just to see what it does, then try answering other’s questions on this forum, etc. I don’t claim to be an expert on repeater widgets, but I have used them successfully–eventually–in many situations. I’ll use it to demonstrate some filtering basics both within and outside of the repeater: Here is a sample file built from a recent forum post about repeaters. Likewise, discussions about Local Variables and Axure’s built-in variables and “hidden functions.” To be fair, the documentation is a decent introduction, and it is worth your time to go through the tutorials (There are several for repeaters in the menu on that page), but for sure, many questions and mysteries will remain. ![]() Just search this forum for “repeater” and see all the Axure users, including experts and “Si Fu’s” who have been confused by repeaters. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |