List selection issue

Hi Team,

We are building a mobile app where we have used list to show set of items .

The issue we are facing is if we select particular list item then it selects entire list items in UI,

thought it selects particular item at the backened.

Can you provide some more details - how item was selected in the list ? Is it was API, user action or somehow encoded with data ?

Be sure that all items in list have unique ids.

Hi Maskim,

I mean to say that we have used list component and added5 data to it.

In mobile when we select the first data ,though it selects first item but the time user clicks on it , it appears as if all items are selected.

The only case when such problem occurs - when you have same id for all items.
Be sure that you are not providing the same id during new item adding

list.add({}); //no id, fine
list.add({ id:webix.uid() }); //unique id, fine
list.add({ id:"-1" }); //constant id, will fail if used for more than one item

If you have multiple items with the same id, selecting one will result in selecting them all.

Hi Maksim
I am using a list. Clicking on any item, I am navigating to some other page.
But the moment I click , a border appears around the list and it navigates to next page.
The problem occurs in touch devices.
Please suggest any solution.

http://webix.com/snippet/4ea38220

Are you placing the list in some custom html layout ? In such case check that is doesn’t wrapped in link or form tag. The list itself will not change current page, but external html markup can do it.

Hi Maksim,
We are not using any custom html layout.
List is same as posted.
http://webix.com/snippet/4ea38220

This one works without any side effects
Tapping an item doesn’t cause any effects at all.