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

Grid Multiple Row Selection

3 Answers 280 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Austin
Top achievements
Rank 1
Austin asked on 27 Feb 2013, 09:27 PM

I have a Grid on a mobile app and I set to multiple row through selectable: option.  I have a problem where I can not select alternating rows.  Basically every other row can not be selected.

Do I have something set up wrong or if this is an issue how do I fix this?

We are getting our data through a datasource and JSON.

Thanks in advance for your help

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 01 Mar 2013, 08:54 AM
Hello Austin,

I could not reproduce the issue locally and in our demos. Could you send me a sample project to investigate the problem and assist you further?

 

All the best,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rob
Top achievements
Rank 2
answered on 18 Apr 2013, 10:20 AM
I have the same issue over here. Only even rows are selectable.
See my screenshot for more info...

Is there a solution already?

regards,

Rob
0
Rob
Top achievements
Rank 2
answered on 18 Apr 2013, 11:35 AM
I found the solution for my problem. 

I'm using Foundation Zurb inside my project for the grid construction and those css rules were supressing the Kendo styles.
I created an override for the following elements, by adding the 'important' keyword to the background en border color properties:

.k-state-selected,
.k-state-selected:link,
.k-list > .k-state-selected,
.k-list > .k-state-highlight,
.k-panel > .k-state-selected,
.k-button:active,
.k-ghost-splitbar-vertical,
.k-ghost-splitbar-horizontal,
.k-draghandle.k-state-selected:hover {
  color: #ffffff;
  background-color: #7ea700 !important; // 
  border-color: #7ea700 !important;
}
Tags
Grid
Asked by
Austin
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Rob
Top achievements
Rank 2
Share this question
or