Sorting

papoloop
2013-12-02
2014-02-15
  • papoloop
    papoloop
    2013-12-02

    Hello, I am "Papoloop" the Italian translator of CompactWiew.
    I would like to suggest a new feature. I looked at the code but I'm not a "real" programmer and i don't know how to do ...
    It would be nice to be able to sort the data with a click in the column's header. Something like "ORDER BY" in SQL.
    Thanks for now,
    greetings.

    ---------- edited ----------
    I can do that with an SQL query

     
    Last edit: papoloop 2013-12-05
  • compactview
    compactview
    2013-12-14

    Hi Papaloop,
    The Visual Studio component "DataGridView" used to show the data, don't permit order by columns when the data source is a query.
    The way to do this would be ordering the query by using an ORDER clause as you have indicated.
    When I can I will try to implement it.
    Greetings.

     
  • compactview
    compactview
    2014-02-15

    Hi Papaloop,

    The new program version 1.4.1 allows sorting by columns.

    Due to restrictions of the database, it is not allowed sorting by columns of type image or ntext.

     
  • papoloop
    papoloop
    2014-02-15

    Great Job!

     


Anonymous


Cancel   Add attachments