How to open list item by clicking on item row (instead of selecting item)?



How to open list item (or folder) when user click on item row (not on linktitlenomenu column)?
By default sharepoint select this item and I need select items by clicking on checkbox only and open item otherwise.
I see many different jQuery scripts, but I find only how to get link on item with jQuery:


$(document).ready(function () {
$('.ms-itmhover').each(
function () {
var a = $(this).find("td div[Field=LinkFilename] a")
alert(a.attr('href'));
}
);
});

But I dont't know how to paste this url in row onclick handler.


View Replies

Related to : How to open list item by clicking on item row (instead of selecting item)?


how to highlight a selected item from a repeater while clicking on that item that is navigating to other page there the item should highlighted
Category : Software

In a visual web part i am using a repeater control and the items are pages while clicking on that item that will navigates to another page in that page also i am placing the same web part. Now my requirement is while navigating to the page the selected page item should be highlighted. I implement


View Replies


Selecting an item from a list rendered using a partial view per item
Category : Programming Languages

I have a view model with a list of items. These items are rendered using a partial view within a for loop.


I want to be able to click on some text within the partial view and post back to the controller the item and all properties that I clicked on.


I can't simply pass an


View Replies


after selecting any item from drop down list always is returned the first item
Category : ASP & ASP.net
i've created a drop down list that populates a data grid when any item is selected i've already configured autopostback property as true to the drop down list i really can not find out what i'm doing wrong: after selecting any item from drop down list, postback is fired, and always is returned the f

View Replies


In list fragment clicking first time on list item do not changes the background of item
Category : Programming Languages

I am using list fragment to display list of item and i want that in such a way that, whenever the item is clicked its background should change and is changing too but when first time any item is clicked no change is their in the background of that item.Please help me. my code is here



View Replies


Single item list box (item not really selecting)
Category : VB & VBnet
Application=Access2002
The following code has worked for me in the past but won't now for some reason.
I have a private function and/or subs that performs a few simple operations such as setting listbox rowsources and simple math functions on a form. The queries set as rowsource use criteria f

View Replies


How to improve compare of item in sorted List<MyItem> with item before and after current item?
Category : Programming Languages

Does anyone know about a good way to accomplish this task?


Currently i'm doing it more ore less this way, but i'm feeling someway unhappy with this code, unable to say what i could immediately improve.


So if anyone has a smarter way of doing this job i would be happy to kn


View Replies


Selecting item in a List or Tree component- without clicking
Category : Design Software
Selecting item in a List or Tree component- without clicking
 
I have a tree component called my_tree. I have a handler for reacting to the user clicking an item in the Tree that looks like this:
View Replies


Toggling list, clicking on item shows all subitems instead of only subitems from item
Category : Web Design

Sorry for the vague title, but I couldn't find an appropriate title, explaining the problem well.


The problem: I wrote a code that toggles lists. It works the way I want it. When I click on the the 'headcategory' it opens the subcategories, etc. The problem occurs when I click on the


View Replies


Item-by-item list comparison, updating each item with its result (no third list)
Category : Databases

The solutions I have found so far in my research on comparing lists of objects have usually generated a new list of objects, say of those items existing in one list, but not in the other. In my case, I want to compare two lists to discover the items whose key exists in one list and not the other


View Replies


Prevent Context Menu from closing on clicking item (specifically checkbox item)
Category : Programming Languages

If I have a checkable item in a Context Menu or ordianry Menu, how do I prevent the menu from closing when the item is selected?


View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .