< Day Day Up > |
Recipe 9.17 Enabling and Disabling Table Items9.17.1 ProblemYou want to gray out table items so that they can't be selected. 9.17.2 SolutionUse the table item's setGrayed method. 9.17.3 DiscussionTo gray out a table item, call that item's setGrayed method with a value of true; to enable the item again, pass the setGrayed method a value of false. |
< Day Day Up > |