Wrong row is selected when clicked

QuestionsWrong row is selected when clicked
Matt asked 10 years ago

I took your twitter-bootstrap.php file and dropped in my database, table and column names. I didn't change anything else except the paths and hardcoded the theme.

When the grid renders, there are only some rows that have values in the Action column. Those rows that do not have values in that column cannot be selected when clicked. When those rows are clicked a different row is highlighted.

The code is here: http://pastebin.com/WWGdKqzw

And you can see the page itself here: http://netresource.com/k/gridsample2.php

I tried it both in Firefox and Safari.

Thanks,
Matt

1 Answers
Matt answered 10 years ago

I figured it out. I didn't include the primary key in the columns.

Your Answer

10 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?