listview

How to show scrollbars inside item of ListView

Hi, I have problem with displaing scrollbars around item in ListView. <ListView ItemsSource="{Binding Path=ContentCollection}" SelectedValue="{Binding Current}" VerticalContentAlignment="Top"> <ListView.ItemsPanel> <ItemsPanelTemplate> <DockPanel /> </ItemsPanelTemplate> </Li...

How to create a custom listview in android

Hi All, I want to create a list view custom like this link : http://sites.google.com/site/androideyecontact/_/rsrc/1238086823282/Home/android-eye-contact-lite/eye_contact-list_view_3.png?height=420&amp;width=279 so far I have made a list view with text, and I am not extending list Activity, but I am extending Activity only. please i...

WPF - ListView within listView Scrollbar problem

So I currently have a ListView "List A" who's items each have an expander control which contains another ListView "List B". The problem I am having is that sometimes List B grows so big that it extends beyond the range of List A's view area. List A's scroll bars do not pick up the fact that parts of List B are not being displayed. Is the...

Background ListView becomes black when scrolling

Hi, I have created a specific List which exists out of the following elements to create a scrollable list with every row containing a Image on the left side and some text on the right side : To begin with a "root" layout : <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:la...

C# language: How to freeze listview control in windows form?

hello, i need to freeze certain columns in listview so when the user scrolls horizontally the frozen columns will not be affected (like in excel) but there is no frozen(bool) property like that in datagrid. Can this be done in listview control? Thanks ...

WPF ListView column auto sizing

Let's say I have the following ListView: <ListView ScrollViewer.VerticalScrollBarVisibility="Auto"> <ListView.View> <GridView> <GridViewColumn Header="Something" DisplayMemberBinding="{Binding Path=ShortText}" /> <GridViewColumn Header="Description" DisplayMemberBinding="{Bi...

What is the best way to do multiple listviews in android?

Hi all, i am writing a software that i have to drill down on content a lot. For example when the program starts a listview is displayed. When user clicks on an item, then a second listview must be displayed. For example: Select Continent > Select Country > Select State > Select City > Select Address What is the best way to do this (l...

Android. Searching over the listView

Hi, I have activity with ListView. That listView contains imageView and two textViews (aka first and last names). I want to organize searching with this listView by one of textView (e.g. by last name). How can I implement that? I found that Quick Search Box can be used but I didn't understand how to work with it. Help, plz :) ...

Android's listview. Update view within of of the cells just after invalidating Activity's view

I have ListViewActivity public class SelectActivity extends ListActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.select_one_of); SimpleAdapter adapter = new SimpleAdapter( this, createChildList(), R....

Read from XML > Add to Listview

I have some problems getting the data that i read from XML split into seperate columns. Any help this new C# coder would get would be appreciated. XDocument xmlDoc = XDocument.Load("emails.xml"); var t = from c in xmlDoc.Descendants("dt") select (string)c.Element("name") + (string)c.Element("email");...

Suitable GUI for sorting rows at database level and/or WYSIWYG level?

Consider an Explorer-like list view with a number of columns. The data is fetched from a database, and the rows can be sorted by clicking the column headers. When you click column A, you expect the fetched data to be sorted by A - at the database level ("ORDER BY" at the selected column). However, sometimes it is desirable to sort the d...

ListActivity problem when using with RelativeLayout

Newb alert, I'm sure I'm doing something dumb here. I've been progressively expanding my UI, and I want to add a ListView in the middle of my UI. When I add it and change the activity to extend a ListActivity instead of just an Activity, I'm getting a Force Close. Using 1.5. Does a ListView not work embedded in a RelativeLayout? Tha...

How can I get unfiltered position in filtered ListView?

I am using ListView with ArrayAdapter to filter items in list. I have implemented onListItemClick() method to get clicked item position and call second activity using that value. For example I have countries in my list: Australia Belgium Botswana Belize ... Belgium has position 1 here. However, if i type "Be" to filter items, I g...

VB.net Reading from ListViews with Multiple Columns

Alright. So I was able to find out how to read from the first column but I need to read from both of them. I am using full row select which I need on there. Here is the code I am using to get it for the first column. Dim I As Integer For I = 0 To ListView1.SelectedItems.Count - 1 MsgBox(ListView1.SelectedItems(I).Text) Next ...

Android: CustomListAdapter

Hi, I have implemented a custom list view which looks like the twitter timeline. adapter = new MyClickableListAdapter(this, R.layout.timeline, mObjectList); setListAdapter(adapter); The constructor for MyClickableListAdapter is as follows private class MyClickableListAdapter extends ClickableListAdapter{ public MyClickab...

ArrayAdapter and android:textFilterEnabled

I have created a layout which includes a ListView. The data shown within this ListView isn't too complicated, it's mostly an Array which is passed when the extended Activity is started. The rows themselves exist out of an icon and a text, thus an ImageView and a TextView. To fill up the ListView I use an ArrayAdapter simply because an ...

Android app: custom listview with image

Hi, I am relatively new to development of Android apps. I have bought some books on Android development which got me started in developing simple apps. Now, I want to start building an app that has more functionality. Part of this app consists of a ListView containing about 100 rows. Each row should contain a little image (from remote ...

How to force ListView to show first page programmatically

I have a paged ASP.NET ListView. The data shown is filtered, which can be controlled by a form. When the filter form changes, I create a new query, and perform a DataBind. The problem however, when I go to the next page, and set a filter, the ListView shows "No data was returned". That is not weird, because after the filter is applied,...

RelativeLayout differences between 1.5 and 2.1

I've got a ListView with items composed of RelativeLayouts. This is the relevant XML from the list items: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content"> <TextView android:id...

Can I specify a Stored Procedure in my LinqDataSource ?

I have a Listview that I want to read the results of a Stored procedure. I have created the DBML object with the table and the stored procedure. When I configure my LinqDataSource on the page I cannot specify the SProc - only the Table. Or do I need to do it in the Listview ? Thanks ...