Questions tagged [subitem]

Use this tag for questions related to subitems, i.e. items that usually inside ListView(Items).

is used for questions related to the manipulation/insertion/deletion of the subitem, i.e. a collection of an item inside a ListView (for example).

96 questions
0
votes
1 answer

Insert rows? I tried but it keeps empty

I've a ListView (named ListView1). I added 4 columns (with visual editor, property Column): NumeroLista,OrdenLista,NumElementos,TiempoOrdenamiento. I'm sure the code is reached because before it is in a function called directly from class…
dragonmnl
  • 14,578
  • 33
  • 84
  • 129
0
votes
2 answers

How to add Tag and subitem in listview c#

I want to display tag and subitem in my listview , those items come by using while statement. here the code int id = 0; while ((line = sr.ReadLine()) != null) { id++; …
Bijak Antusias Sufi
  • 198
  • 2
  • 5
  • 18
0
votes
1 answer

Adding submenus to menu subitems in Joomla 1.7

i want to add a submenu to a menu subitem in Joomla 1.7. Example: [Main menu] Home Institutes **First Institute** Second Intitute FAQ Contact [First Institute submenu] First link Second link Third link On the main menu i've opened Intitutes…
0
votes
0 answers

Is select the one subitem without full row possible? C#

I am using a listview. Is select the one subitem without full row possible? When i click a subitem, all row is selected. But i do not want this. I want select only one subitem. I marked "FullRowSelect" option as false. But then, i could select only…
0
votes
1 answer

Cycling through selected item in listview and populating another listview from subitem that has comma delimited subitem

I have a listview called lstProducts. The user selects an item in lstProducts to populate various objects in a form. Three of the subitems are comma delimited strings that must be parsed to populate lstAss. I have code that cycles through but it is…
Todd
  • 1
  • 1
0
votes
1 answer

Why does changing ListView.Sorting property erase all subitem images?

I'm using a ListView with extended style set to LVS_EX_SUBITEMIMAGES to show small icons near every subitem (look at this article for more information). The problem is when I change the Sorting property somewhere in code (without even actually…
Dmitrii Erokhin
  • 1,347
  • 13
  • 31
0
votes
1 answer

Listview Subitems Forecolor

How to change forecolor for all subitems in listview. I have 2 columns, I need column 1 white, and second (subitems) column gray color. tried this after setting gray color from items & subitems UI, listView1.Items[0].UseItemStyleForSubItems =…
Firefly
  • 13
  • 4
0
votes
1 answer

Variable list item's length

I have a list which each of its elements could have a different number of elements. In lst1, each list item has 3 items while in lst2, each list item has 2 items. lst1=[([{'s1'}, 30], [{'s2'}, 28], [{'s3'}, 28]), ([{'s1'}, 30], [{'s2'}, 28],…
user3665906
  • 185
  • 13
0
votes
1 answer

Is there a way to create a unordered list with subitems from 1 content-type

I would like to create a organogram like: https://codepen.io/bernardoantunes/pen/inrbh using 2sic Content. I would like to create a content-type 'organogram' with the following fields: Title as String Parent as Entity (of type…
Arno
  • 13
  • 3
0
votes
0 answers

Add TextView subitem to ListView

I am trying to make a ToDo List app for android and I have three EditText views in which the user can write the task title and the task content. I want to send both of these from the EditText views in the ListView I have. My onCreate…
slgnalin
  • 25
  • 6
0
votes
2 answers

Fragments and Listview Subitems

I am currently having trouble with displaying my subitems in the list view. I am unsure of what is causing this. I've tried playing around with the .put but that was unsuccessful. Here is my code: public class HomeFragment extends Fragment { …
0
votes
1 answer

Sub item in list view doesn't work

my code is about a listview with sub item, I fill it with array string[] but only show me the first string, someone can I help me? private String[] d1 = new String[5]; private String[] d2 = new String[5]; ArrayList>…
Andy R
  • 53
  • 6
0
votes
1 answer

How to make an AngularJs ng-options with subitems

I'd like to put the json returned logins into a ng-options. The problem is the login and other attributes like id, url etc is as subitem of How can i Make an Angular ng-options with its values? The Html
Adriano Frota
  • 488
  • 3
  • 14
  • 27
0
votes
1 answer

how to add multiline item and subitem in listview in VB6?

i have data in textbox like this: i want to split 3 type of that data to 3 coloums in listview. i know how to split that data by character using this type of code: Private Sub Command1_Click() Dim a As String Dim b As String Dim c As String Dim i…
diasti putri
  • 93
  • 1
  • 9
0
votes
0 answers

How to get a text value from a sub string by index in C#

I have a listview1 with information about students that can change repeatedly, as well for the Student Names (Column1) and the Students task Column2. I have a textBox1 where you can type the name a possible student in Column1. That name will be…