Hey, I'm using the FastObjectListview and now I need to sort on 2 columns.
So I tried using the example I found on the ObjectListview website but I can't get it to work.
class MyCustomSortingDataSource : FastVirtualListDataSource
{
override public void SortObjects(OLVColumn column, SortOrder order) {
// do some amazing sor...
In a when there are no rows and user enter values and hit Enter after last value then new row is inserted (like it should be)
But then the Delete button of the first row become the default button for the ListView and when user hit Enter on following rows first row in ListView is deleted.
I have tried to use surrounding both the ItemT...
I have an asp.net listview. The data that populates it is sorted into groups, and i'm using some code in the listview item template, that essentially checks if the grouping field has changed in the data, and if so it prints a new row, with the heading, so it looks a bit like this:
<ItemTemplate>
<%# AddGroupingRowIfWPHasChanged() %>
...
I have a list view with a label that shows "Step #x", another label with the instructions, and then 2 linkbuttons for editing or deleting. At the footer of the ListView is another button "Add New Step" which opens up an empty TextBox and two buttons to save and cancel. I would also like it to increment the label, but I can seem to find t...
I've got some labels in a listview, 2 per row. One contains a title, the other information. I want to change all the titles when the user presses a button that fires the ListViewSelectEventArgs. I think they have the same ID since they're from the ItemTemplate, so I thought that's how'd I target them. I'm just not sure how I'd step throu...
Is it possible to have multiple selector tags on a single listview...ie: change the background color of each item of the listview (alternating between two drawables), but still have the selector of the list view active for focus and click events?
Also, is it possible to ensure that the margin stays constant when using selector tags? Fo...
I have a list that looks like this:
Base/Level1/Item1
Base/Level1/Item2
Base/Level1/Sub1/Item1
Base/Level2/Item1
Base/Level3/Sub1/Item1
I would like an easy way put that into a ListView. (Ie similar to this)
Base
|
+->Level1
| |
| +=Item1
| +=Item2
| |
| +->Sub1
| |
| +=Item1
|
+-...
hi. i am facing a problem.
i have a list view which is in detail form..
it has large quantity of data to display. and the data is continuously updating after each second.
in current situation list view is flickering. how can i solve this issue
...
There is web page that displayed file structure - folders and files.
How to emulate Windows Explorer "List" view on this web page?
The order of items should be following: from top to bottom and from left to right.
I can arrange items from left to right only, by it doesn't confirm to Windows "List" view:
Item_1 Item_2
Item_3 It...
Hey,
I'm trying to make some sort of intellisense look a like for an editor I'm working on.
When the user types in the richtextbox and the letters match a word a listview will pop-up and the matched word will be selected.
the problem is the focus is still on the richtextbox so all the key presses will go to that control, which is good...
I have a really weird situation with dependent comboboxes and I am about to pull my hair out!!
I have 3 Comboboxes that display data from the selected item in a listview for editing. The DataContext for the UserControl is the Same as the Listbox.
When I go select different items on the listbox the data in the 2nd and 3rd combo gets r...
Driving me crazy!
I have a Listview to which I am binding a large collection.
The problem is this collection "overflows" and then items can't be seen.
If I set Height- then fine, I get what I want and a scroll bar... but this won't dynamically size if the user maximises the entire window. So how can I tell it to fill the size of the g...
So, I have a ListView that contains a steps in a process. On the left there is a Label simply stating which step it is, and on the right is a TextBox with the instructions. Then to the right of that TextBox is the usual edit and delete buttons, but I also have an up-arrow and a down-arrow. If clicked, I would like the current set of item...
After I have gotten the data for a single row of a ListView, I want to update that single row.
ATM. I am using notifyDataSetChanged(); but that makes the View react very slow, are there any other solutions?
...
Hi,
I have a simple class that contains a string and an WPF Image control:
public class User
{
public string Name { get; set; }
public System.Windows.Controls.Image Image { get; set; }
}
Now I'm binding a list of instances of this class to a ListView.
What I would like to do now is make ListView display the Image property.
...
If I have the folling data pager
<asp:DataPager ID="DataPager1" runat="server" PagedControlID="lstBlogPosts"
PageSize="1" onprerender="DataPager1_PreRender" >
<Fields>
<asp:NextPreviousPagerField ButtonType="Image"
NextPageImageUrl="~/_Content/images/blog/btn-next.jpg"
Previ...
I have a spinner widget in my activity which lets users pick a list name.
Normally, the function of the spinner is to switch between lists but for a couple of instances, I swap out the selection change listener to perform a different function with the same list of options. Once the selection has been made, the old listener is restored ...
Hi there.
I have a list of checked items. I used the simple_list_item_multiple_choice.xml layout from android from the list.
My requirement for this list is:
- When I check the checkbox of an item, the background color of that row will change. (For e.g. black background to green)
- Then when I uncheck the checkbox, the background col...
I've got a Windows Forms ListView control in details mode. There are multiple columns at play. I'm trying to use owner draw to place a particularly wide column "below" the others.
So, instead of this:
COLUMN1 COLUMN2 COLUMN3 COLUMNNNNNNNNNNNNNNNNNNN4
I'm trying to do this:
COLUMN1 COLUMN2 COLUMN3
COLUMNNNNNNNNNNNNNNNNNNN4
I c...
Hello,
I'm using an ArrayAdapter to add items to a custom ListView and showing the results in my Android app. The problem I'm having is that the ArrayAdapter seems to wait until all items are in it before it shows the view. That is to say, when I'm adding the items to the ArrayAdapter and I call notifyDataSetChanged, it does not updat...