Jquery mobile split button listview

Email ID. Attach files. Desktop Google Docs.

Read-only, unordered

Each Attachment size should not exceed 1. Max no of attachments: Loading User Profile Response title. Publish Back to edit Cancel. Sign In. New to this Portal? Click here to Sign up. You can also use the below options to login.

List Dividers in jQuery Mobile

Search jQuery Search. Move this topic Cancel.

Listview - jQuery Mobile Demos

I wonder is it possible to create a linked list view with count bubbles having a split button at right? Replies 1. Linked listview with a split button 5 years ago. We will now take a look at an example where we will see, how to add 2 clickable items in the same list.

In case where there are more than 1 possible action per list item, a split button can be used to offer two independently clickable items - the list item and a small icon in the far right. To make a split list item, we simple need to include a second link inside the li tag and JQM framework will do the rest for you.

It will add a vertical divider line, style the link as an icon-only button and set the title attribute of the link to the text of the link for accessibility as you can see in the result section in the jsFiddle below.

Replies(6)

You can set the icon on the extreme right by specifying the data-split-icon attribute on the listview with an icon name you want. The default icon is "arrow-r" but can be configured with the splitIcon listview options. I have used the "star" icon in the above example. By adding a data-icon attribute to the list item, you can set individual icons for each split.

jQuery Mobile - Listview Split buttons

The theme swatch color of the split button defaults to "b" but can be set by specifying a swatch letter with the data-split-theme attribute at the list level as I have used the "c". For individual splits, you can apply the swatches with data-theme attribute at the link level. The icon that we have used for the split need not be from the JQM default icon set. We can have our own icon and we will see how to customize the icon on the listview in subsequent examples. Stay tuned for more examples on Jquery Mobile.

Hope you have followed this one. Drop a comment in case you have any issues regarding this code sample and I would be happy to help.

Labels split button listview split listview. Post a Comment Please leave your comments here Recommended for You.


  • dating sim game for android.
  • iphone new star soccer full ipa.
  • listview example - Multiple split buttons on jQuery Mobile list.
  • Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor..
  • android games for sony xperia go.
  • JQuery Mobile List Views.

Difference between word-break: March 06, Bence Bence 3 You can show and hide the split buttons by adding a class and manipulating it using jQuery. Jay Mayu Jay Mayu Actually I was not enterily clear about my issue in the first post. I have updated it with two screenshots. The problem is that jquery mobile adds a certain spacing when you use data-split-icon data attribute. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.