item

Three20 UITableViewCellStyleValue1

How do I create an item in my datasource using a cell that is UITableViewCellStyleValue1? Do I have to create my own custom cell to do it? I don't see anything in the sample catalog. thank, howie ...

jquery find by index in a list

<ul> <li>No</li> <li>Yes</li> <li>No</li> </ul> //demostration purpose $('ul').get(2).text(); //output = Yes What's the best way to access a specific item in a list? and use it as a selector? ...

How can I register several listeners on item click at ListView?

I have ListView, where any item is HorizontalLayout on wchich there are 3 TextView. I can realize interface AdapterView.OnItemClickListener: public void onItemClick(AdapterView parent, View view, final int position, long id) { final long iid = this.id; new Thread( new Runnable() { pub...

DOM element delete promlem i IE6

kindly check the CODE** <html> <head> <title>DOM ADD?REMOVE UL-LI..... NODE DEMO 09/08/2010 </title> <style type="text/css"> ul{margin: 0; padding: 0; left: 20px; width: 90%; border-bottom: solid 1px #d09800; } li{ color: #333 !important; background: white; text-decoration: none; } #menu li{ height:15px;width:90px; cur...

How to make HTML links in a listView Item focusable?

I wanna make an app which is quite similar to the official twitter client for android. In my listView Item ,there is a TextView which has some html content,I hope the links within it can be focusable and clickable,I have used: getListView().setItemsCanFocus(true); but it still doesn't work,I don't know why. the layout is like this: ...

I have a AS3 class which extends movieClip with a dynamic image, how to make this image draggable?

I need to make an item draggable (dragable?) Sorry if my terminology is not right! I have a class where I will store variable and do calculations: package Classes { import flash.display.*; import flash.events.*; import flash.net.*; public class PrintItem extends MovieClip { public var imageLoader:Loade...

saving each item while in loop vb.net

i need to make my storedprocedure update as as the messabox reads each item of a datagridview. it only save the last record that messagebox read. need help:( For Each row As DataGridViewRow In DataGridView1.Rows Dim strunitprice As String = CDbl(row.Cells(7).FormattedValue) + Val(CDbl(TXTNET.Text)) 'op...

How to change color of status bar item title in objective-C/Cocoa?

//Create the NSStatusBar and set its length statusItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSSquareStatusItemLength] retain]; [statusItem setHighlightMode:YES]; [statusItem setTitle:@"myTitle"]; [statusItem setToolTip:@"myToolTip"]; [statusItem setMenu:statusMenu]; [statusItem setEnabled:YES]; How to change color of...

c# wpf binding listbox item change

Suppose I have a listbox with a couple of items, in my case audio recording inputs. I want to show the list of available inputs - each input is an item in the listbox. The inputs should be updated realtime, so each item in the listbox has an indicator of the recorded audiolevel in realtime. How would I go about databinging my listbox to...

Android - how to update LIstView item that is currently displayed

I have list of items ion my activity which I load dynamically, item after item. Initially I load "lightweight" version and when processing is done I want to update the item with new information. Like set some text or replace an image. That means I need to update what ListView item is displaying after Adapter#getView already returns. Of ...

how to select most frequent item from the table using mysql query?

i create a table for transaction table using mysql... i need to retrieve the frequent transaction data from that table... how find the frequent data from the table help me! ...

IsSelected property of ViewModel bound to ListBox, Only FIRST item selection works ?

Hello, I have a MeetingViewModelList bound to a DataGrid. Each MeetingViewModel has a DocumentViewModelList bound to a ListBox within the DataGrid`s DataGridTemplateColumn. The IsSelected property of the DocumentViewModel is bound to the ListBox`s Item property IsSelected. I get no binding errors in the output console. The delete d...

WPF datagrid start editing new item

Hi, I have a datagrid with editable items in it and I have a button to create a new instance of such an item. The datagrid is updated with the new item but I can't select the recently added item and start editing on it. Below is my code: private void btnNewKenmerk_Click( object sender, RoutedEventArgs e ) { Kenmerk newKenmerk =...

change color of selected menu tab

so i have grabbed a snippet from another question <script type='text/javascript' > $(document).ready(function () { $("div.content ul li a") .mouseover(function () { var t = $(this); if (!t.hasClass("clicked")) { // very easy to check if element has a set of styles t.addClass('mouseover'); } }) .mouseout(function () { // a...

ListView selection highlights multiple items in the list when scrolling

I have a custom adapter for a list in my ListActivity in my Android app. I'm dynamically setting the background color of the current item that was clicked because I want to set the marquee of the TextView in the custom list item. This is how I'm doing this: @Override protected void onListItemClick(ListView l, View v, int position, long ...

Android Menu Item Title not displaying

Hi all, I've been fiddling with android, and I've been following the menu sample, and it runs almost fine, but the "title" field of the menu items isn't displaying. I think it's related to this question: http://stackoverflow.com/questions/3286093/android-menu-item-not-showing-text but I'm not sure what his answer means. Anyway, it prop...

WPF Chart Legend Item Style

Hello, I am trying to style the Legend Items in my WPF Chart. I have the following LegendStyle, but this doesn't change anything. What am I doing wrong? Thanks! <Style x:Key="LegendStyle1" TargetType="{x:Type datavis:Legend}"> <Setter Property="ItemContainerStyle"> <Setter.Value> <Style TargetType="charting:Leg...

ListView Item Background

I would like to change the background color of a ListView Item after it has been touched until a further event. This is my code: listviewOfStuff.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView<?> parent, View view, int position, long id) { // When clicked, show a toast with the T...

export datagrid item into excel file

function exporttoexcel() { $('#export').click(function() { $.ajax({ url: 'exportdata.aspx', cache: false, success: function(data) { } }); }); } I want to export datagrid item into excel file. when i use aler(data). item is displaying but excel save as and dow...

C#: How do I find the index of an item when only part of the item name is known

Firstly, sorry if the title sounds confusing. How do I find the index of an item in a list string when only a substring of that item is known? Like, I have a list called directories. It has C:\test, C:\new and C:\files (3 items). Using the word "new" only, how can I find the index number of C:\new (that is 1) in directories? I am usi...