dataView Sorting function-style?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • woony
    New Member
    • Dec 2007
    • 11

    dataView Sorting function-style?

    Hello,

    I'm working on a vb.net project.
    I show a list of articles, than can be selected and next to them an amount of how many articles the user wants.

    Now I would like it to be that the selected items are on top when someone confirms the amount of articles.

    I'm using a dataview, but the sort function of a dataview.sort, makes it sort 'at al times' so the second an article is selected it jumps up. So I was wondering if anyone had an idea, or a workaround or whatever that can help me to get this the way I want it... to get some sort of function sortNow then the dataview is sorted on the selected items. And I can then just call this function when the user submits an amount.

    Hope the explanation illustrates the problem well enough.
    Hoping on some usefull answers
    Greetings
    woony
  • woony
    New Member
    • Dec 2007
    • 11

    #2
    nobody any suggestions?

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      One way could be to use the selection event with ado.net to reorder the datagrid and rebind. HTH.

      Comment

      Working...