The headers are clickable?

Hello

I have a list of data which are sorted alphabetically. I have the dataModel.grouping the value ItemGrouping.ByFirstChar.

What it does, is that all A are grouped together and given a heading "A." All B is grouped with the header 'B' and so on.

But I noticed that the header itself is selectable. How can this be stopped? I don't want people clicking on the header itself?

This is my code below:

attachedObjects: [
                GroupDataModel {
                    id: dataModel
                    sortingKeys: [
                        "name"
                    ]
                    grouping: ItemGrouping.ByFirstChar
                    sortedAscending: true
                },
                DataSource {
                    id: dataSource
                    source: "list.json"
                    onDataLoaded: {
                        dataModel.insertList(data);
                    }
                }
            ]

Found this in a sample application:

   onTriggered: {

                    // To avoid triggering navigation when pressing the header items, we check so that the
                    // index path length is larger then one (one entry would be a group under a header item).
                    if(indexPath.length > 1) {
                        // When an item is selected we push the recipe Page in the chosenItem file attribute.
                        var chosenItem = dataModel.data(indexPath);

                        // Create the content page and push it on top to drill down to it.
                        var contentpage = contentPageDefinition.createObject();

                        // Set the content properties to reflect the selected image.
                        contentpage.contentImageURL = chosenItem.URL
                        contentpage.contentDescription = chosenItem.infoText

                        // Push the content page to the navigation stack
                        nav.push(contentpage);
                    }
                }

Tags: BlackBerry Developers

Similar Questions

  • The buttons are clickable, even under an object

    I have a layer of buttons and then on top, I have this overlay that fades on sometimes.  While this layering is there underneath all the buttons are still clickable and always the cursor turns into a hand.  How can I make the buttons not clickable when there is an object on top of it?

    the overlay is on a higher layer by layer of buttons and is not transparent.

    You can assign their false _visible property or their property enabled to false.

  • Why are there "No content found" even after updating the Guide on WMC. I also note that, on the main page of ITV, none of the links are clickable. What gives?

    I removed and re-installed Internet TV for my Home Premium from windows system 7 several times, using an account administrator as well as a standard user account. I find that the ITV homepage is NOT clickable; the links don't point out even when I hover over them (top tv, full episodes, etc.). I also click on an icon of TMZ in alternation, which, once clicked active active search at the top right of the screen button, but when I opt for the Internet TV within the open window radio button I've always found "no content found. Does anyone have an idea here? Confused in Maryland.

    Microsoft has removed Internet TV in Windows Media Center effective 9/20.
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • APEX 5.01 IR headers are not in the correct column position

    screen1.jpg

    As you can see from the screenshot above, all the headers after pos.2 "Designation" are shifted to the left. "Bedarf" must be above the "1" on the left-oriented and "EKP" must be above the dashboard.

    If I disabled the "Designation" column, all the headers are still correct. So, what could be wrong with this second column?

    Theme: Productiv

    Model: Reports region

    Browser: The latest Firefox

    All ideas are welcome!

    Concerning

    Norbert

    Hi Norbert,.

    you have a test on apex.oracle.com case where the problem happens again?

    I guess that if you set IR attributes-> position-> = None-fixed the problem will disappear. But we would be more interested in a test case.

    Concerning

    Patrick

  • How to see the headers added by the service of the company in OSB

    Hello

    I configured the custom policy and the service account for the business service. This is the message digest of user name and password.

    I called the Sales Department of the proxy service. I do not see the headers are filled in the $outbound or the headers when you test the test console service.

    Do we need to explicitly add soap headers in the message flow or will business service can take care of him also how can we see the headers?

    Concerning

    SOAP headers will be updated in the service of business. No need to do anything in the pipeline. If you want to see the headers put a monitor tcp between the commercial service and the web service (called of business).

  • will not display the headers in word doc files

    I have the format of files Word doc as pdf files to print paperbacks. I created files with headers and footers. When I'm finished, I do a print preview and headers and footers appear fine, but when I convert it to the pdf format the headers are not there. I guess it's a configuration problem, but may not know how to solve this problem. Any suggestions? I would be grateful for help?

    [discussion moved to creation, edition & PDF export forum.]

  • Why change the headers that we love so much?

    I just uninstalled Firefox 9.0.1 because I simply can't the way you have rearranged the headings, and I reinstalled Firefox 3.6 which I love so much but you say that you will not long support.

    Why did you find if necessary to remove the file, Edit, View, tabs etc. history we have developed 3.6?

    For me, the changes are completely unacceptable, and I beg you to restore tabs/headers we have 3.6 in a later version, even if only an option.

    You will review this?

    You can activate the file, Edit, View etc to 4 + FF. Press ALT, then view > toolbars > Menu bar of ticks.

    Help?

  • DeskJet 3050 has J611: printer interrupts the headers and footers

    Hello

    When I print my documents, the printer cuts the headers and footers. I use Microsoft Word 2013 and have checked to make sure that the margins are narrow as Tess in Word, but the printer cuts my headers and footers. An error message appears that reads the document is out of print areas. This is a mistake with my printer, and if so, what is the solution? Thank you very much.

    @jun_per

    The specifications have not any information on restrictions "margins".  In general, the high margins and the size may be restricted a.11 inches, while (for some printers / paper) the background may etre.5 inches.

    IF the printer like / limit top / bottom margin a.5 inches, so that the word 'Narrow' margin setting may be in conflict with the ability of the printer to print the document.

    Maybe you can change the margins of the document 'Normal' or something similar.

    You can also adjust the settings individually.

    Word Document > file > Print > click on layout > layout tab

    Check to see where your headers and footers are defined compared to the whole "Narrow margin" setting.

    You can adjust the header and footers downwards / upwards away from the title of the document / paper edge.

    Example:

    Word Document > Insert > footer (drop down menu) >

    (look at the bottom of the parameters available footer) Change the footer > adjust as you wish

    General help, suggestions and examples:

    Manage the print with preview output before printing

    When you see a post that will help you,

    Who inspires you, gives a cool idea,

    Or you learn something new.

    Click the 'Thumbs Up' on this post.

    My answer-click accept as Solution to help others find answers.

  • Text block blocking the relaxation area

    Hello.

    I have a problem with blocks of text within a trigger (eg. widget ToolTip).

    What I've done so far:

    1. Insert the ToolTip widget.

    2 customize the trigger:

    2A. create a background (race up and down and a small point like a fill on the right side)

    2B. set a text block (smaller than the container of the trigger) inside the area of relaxation with text (placed in the middle of relaxation)

    2 c. oblige States to turnover etc for the textframe.

    3. overview in Muse and preview in the browser (Safari). same problem

    The clickable area / rolling worked only where there is no text. Means outside the textframe (but inside the trigger area stille), everything works fine (reversal / clickable).

    But as soon as the cursor of the hit of the text (even between the letters), mousepointer swaps to normal and you are anable to click more.

    4. has tried to organize the relaxation for the back (you can only organize the whole Tigger, not only the text inside block). Not working, it cause displacement the target order.

    What can I do? Is there one solution other than the use of a button in Photoshop?

    Any help is appreciated more than.

    Best

    Hoschi

    Hi Aish,

    I thought about it. The block of text was in the correct position inside the trigger. There was a group has above triggers, so it has blackened.

    Problem solved...

    Thx for your help and your patience.

    Hoschi

  • Entire line of the classic report clickable

    Hello

    I tried this solution to make an entire line in a clickable classic report:
    {message: id = 9656396}

    It worked pretty well, but I have only on the first page of a multi-page report. If I go to the next or previous page lines no longer not clickable. I have tried using livequery but finished with clickable rows on every second page:
    The report of expenses with clickable rows. First time I click on 'next' lines are not clickable, second time they are clickable again and so on.
    My livequery statement looks like this:
    $(document).ready(function()
    {
      $('table tr .myClass td').livequery(function(){
        $(this).css("cursor","pointer");
        return false;
      });
    });
    Can someone please give me an advice what I'm doing wrong here and how to solve my problem?

    See you soon,.
    Andreas

    PS: How can I format the source code in this forum?

    Edit: format

    It works for me, it should work for you.

    Using partial page refresh?
    You put the code (without

  • ImageSlideShow SPRY. Do the "title" a clickable link

    Hello

    as you can tell I'm not a coder! I inserted the slide show ok, but I would like to make the title a clickable link, so people can talk to my clients.

    I found this online...

    "" "" < li > < a href = "images/WVA.png" title = "www.wyevalleyarchery.co.uk" > < img src="images/thumbs/WVA.png" alt = "photos - 1.jpg" / > < / has > < /li >.

    .. .and tried this

    " < li > < a href ="Images/WVA.png"title =" < a href = " http://www.wyevalleyarchery.co.UK "> www.wyevalleyarchery.co.uk < /a >" > < img src="images/thumbs/WVA.png" alt = "photos - 1.jpg" / > < / has > < /li > .

    then I tried this...

    < li > < a href = "images/WVA.png" "title = < a href =" " http://www.wyevalleyarchery.co.UK "> www.wyevalleyarchery.co.uk < /a > > < img src="images/thumbs/WVA.png "alt ="photos - 1.jpg"/ > < / has > < /li >

    .. .but that does not work either!

    Does anyone know how to make a "title" a clickable link. If Yes please can you tell me?

    Thank you and best regards,
    Andy

    PS. web address is: http://www.hawkeyewebsolutions.co.UK/

    Of title attributes are descriptions of text only.  When the user hovers the mouse over the image or the linked text, a small ToolTip appears briefly in the browsers.  You cannot click inside the ToolTip as well, even if you could get a link to appear, it is not accessible.

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

  • SQL text of the query are output in the output of the coil-ed

    Hello

    I have s script that starts with sql * more:
    SET SERVEROUTPUT ON
    SET LINESIZE 1000
    SET ECHO OFF
    SET TERMOUT OFF
    SET FEEDBACK OFF
    
    SPOOL /home/scott/out.txt
    
    SELECT col_1||';'||col_2 FROM table1;  --and my select statement here!
    
    SPOOL OFF
    My out.txt must contain all records from table1, where the fields are separated by a semicolon.
    Unfortunately, out.txt also contains the text of the query itself:
    SELECT col_1||';'||col_2 FROM table1
    ------------------------------------
    1;one
    2;two
    
    AND SO ON!
    How can I Remove the text of the query output?

    Thank you!

    Looks like you want to delete the pages headers. VR;

    set pagesize 0
    
  • After turning on my wireless keyboard led green lights, then begins to blink, and then turns off. The batteries are fresh.

    After turning on my wireless keyboard led green lights, then begins to blink, and then turns off. The batteries are fresh.

    Possible explanation.  It is likely that batteries, so fresh, can be irregular in size.   The uncertain connection would therefore tend to lead to a failure to blink and you declare.   Read my thing...

    Batteries.

  • all the songs are accidentally left organized files

    Hi all

    I moved accidentally all my songs out their records organized iTunes.

    The songs are all still in the music folder, but are now loose in there, and all of their files are empty.

    I find that all my songs are still playing very well, but just do not know if maybe I should get iTunes somehow to put them all back (?)

    Since then, I rebooted my Mac and reinstalled an .itl for her, so not looking is not a cancellation, but rather an organizing method that would not risk ruining his perfect current functionality.

    Any ideas on that?

    Thank you!

    I think probably the best thing to do would have to drag the iTunes folder automatically added to.

    iTunes 9: understanding the "Automatically add to iTunes" folder - http://support.apple.com/kb/HT3832 - files placed in this folder are actually moved from this folder to the correct location in the iTunes Media folder.

    Items already in the list of iTunes library do not appear a second time.

  • I have someone just showed about 100 pictures of my iPad. Now, the pictures are missing, and the "recently deleted" folder is also empty. What can I do?

    I have someone just showed about 100 pictures of my iPad. Now, the pictures are missing, and the "recently deleted" folder is also empty. What can I do?

    Have you done something after their show.

Maybe you are looking for

  • I have been informed that E-readers can access the local library?

    Can it, and how do I do so? He is also the daily edition.

  • Cliq: Bluetooth stereo-ear audio cutting

    I recently bought a Sony DR-BT100CX bluetooth stereo-ear put to use with my Cliq. No problem matching the device, it connects right up. I use mostly the reader integrated music and Pandora in 3G. Problem is every 5 to 30 seconds music shuts down for

  • After the installation of some programs and reboot, some lost their icon image.

    They work fine and all that's just say instead of "e" for internet icon explorer, its display of the icon "no file association" (Note: Internet Explorer doesn't have this problem, just used as an example). I searched but could not find anything about

  • Problems with the easy VPN server

    I have configured my 1841 with IOS 1841-advsecurityk9 - mz.124 - 4.T.bin. It is a piece of config: AAA authentication login userauthen local AAA authentication login sdm_vpn_xauth_ml_1 local crypto ISAKMP policy 1 BA 3des md5 hash preshared authentic

  • Cisco ISE point endpoint assets use Reset

    Hello I have a Cisco ISE running version 1.1, and I was wondering if it would be possible to reset the license use/active end point shown on the dashboard? Noted after a restoration of EHT due to the replacement of the material and I noticed that end