S
Sam
Hi,
I have a datagrid which contains a combobox column bound to a
datatable(I'm using VS2003 but it's a custom control). For each of the
combobox I would like to achieve the same behaviour as for the font
selector in word, that is the most recent chosen fonts are added to the
top of the list.
Exemple:
Say your comboboxes contain the following values:
test0
test1
test2
test3
If in the grid the user chooses test0 on the first row and test2 on the
second row, then the comboboxes now show:
test0
test2
_____
test0
test1
test2
test3
How can I do that? I can't think about an easy algorithm or even about
the structures I should use?
Thx
I have a datagrid which contains a combobox column bound to a
datatable(I'm using VS2003 but it's a custom control). For each of the
combobox I would like to achieve the same behaviour as for the font
selector in word, that is the most recent chosen fonts are added to the
top of the list.
Exemple:
Say your comboboxes contain the following values:
test0
test1
test2
test3
If in the grid the user chooses test0 on the first row and test2 on the
second row, then the comboboxes now show:
test0
test2
_____
test0
test1
test2
test3
How can I do that? I can't think about an easy algorithm or even about
the structures I should use?
Thx