This is a migrated thread and some comments may be shown as answers.

Icenium Graphite 1.6 simulator - list item a href no navigate

6 Answers 33 Views
News & Updates
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
juancarlos
Top achievements
Rank 1
juancarlos asked on 26 Jun 2013, 04:26 AM

In the simulator I'm trying to test navigation in listview does not work.
In my phone and  google chrome works.

    <!-- Categories -->
    <div id="categories-view" data-role="view" data-title="Categories"
        data-model="app.categoriesView.viewModel" data-transition="slide:left" style="display: none;" >
        <header data-role="header">
            <div data-role="navbar">
                <span data-role="view-title"></span>
                <a class="nav-button" data-align="left" data-role="backbutton">Home</a>
            </div>
        </header>
        <ul id="getAllProducts"
            data-role="listview" 
            data-style="inset">
            <li>
                <a href="products-view">ALL PRODUCTS</a>
            </li>
        </ul>
        <ul id="categories_list"
            data-role="listview"
            data-bind="source: categories"
            data-template="categories-list-template"
            data-style="inset">
        </ul>
    </div>

    <script id="categories-list-template" type="text/x-kendo-template">
        <a href="\#subcategories-view?field=id_category&operator=eq&value=#=id_category#&title=#:encodeURIComponent(category_name).replace("'", "%27")#">#: category_name #</a>
    </script>

6 Answers, 1 is accepted

Sort by
0
Jan-Dirk
Top achievements
Rank 1
answered on 26 Jun 2013, 07:26 AM
edited for incorrectness ;-)
0
juancarlos
Top achievements
Rank 1
answered on 26 Jun 2013, 07:52 AM
First of all thank you very much for your reply.

This same code works in any environment least Graphite after update to version 1.6.

Currently I am using Graphite Mist to finish development.
0
Jan-Dirk
Top achievements
Rank 1
answered on 26 Jun 2013, 07:59 AM
Okay, I answered to quick. You are correct, click events in a listview are not fired in the simulator for both iOS and Android simulation.

On the device it is working!

Btw, this thread should be in a different forum!
0
juancarlos
Top achievements
Rank 1
answered on 26 Jun 2013, 08:02 AM
The same code works in any environment.
In "Graphite" has stopped working since last update. Version 1.6

I'm currently using "Mist" to finish the development.

I hope that soon to improve the functioning of "graphite"
0
Jan-Dirk
Top achievements
Rank 1
answered on 26 Jun 2013, 08:04 AM
Yes, I think a quick update is in place. I am sure Icenium is already working on it!
0
Jan-Dirk
Top achievements
Rank 1
answered on 26 Jun 2013, 02:24 PM
Some progress for me with regard to this. Juan Carlos, if are you using Kendo UI, make sure you replace your Kendo files with the latest versions. Follow these steps:

1. Make sure to have a backup of your project
2. Create a (temporary) new project with Kendo UI framework
3. Copy/paste the contents of the following files over the already existing files: jquery.min.js, kendo.mobile.min.js, kendo.mobile.all.min.css
4. Remove the temporary project

Now your click events should work in the listview.

There seems to be one thing that changed for me and that is that I now see an arrow '>' at the most right position of each <LI>. These were not there before.
Tags
News & Updates
Asked by
juancarlos
Top achievements
Rank 1
Answers by
Jan-Dirk
Top achievements
Rank 1
juancarlos
Top achievements
Rank 1
Share this question
or