现在主要要求是, 在每一个field 里有一个button,只有点了那个button以后才能编辑这个field,否则直接单击到field 上,只是选中,而不是直接编辑希望能直接点header,然后自动就sort了,不需要我自己写code。

解决方案 »

  1.   

    不写代码好像办不到吧
    listview
      

  2.   

    我看见有一种 数据显示控件 Can Do This 。。 。 。。
      

  3.   

    不要用datagrid,不适合,你的做法必须用spread.
      

  4.   

    我是和RecordSet 联系,一定要用DataGrid吧。
      

  5.   

    http://soft.0zones.com/SoftView/SoftView_6479.html完全安装版,当然你也可以在其公司主页上下载只包括True DbGrid8的安装版
    http://soft.0zones.com/SoftView/SoftView_2148.html
    注册机  
    ——针对Microsoft Visual Studio的ActiveX组件集ComponentOne True DBGrid Pro 8.0 
    ComponentOne VSFlexGrid Pro 8.0 
    VSVIEW 8.0 Classic Edition 
    VSVIEW 8.0 Reporting Edition 
    ComponentOne Chart 8.0 
    ComponentOne WebChart 8.0 
    ComponentOne Query 8.0 
    True DataControl 8.0 
    True DBInput Pro 8.0 
    True DBList Pro 8.0 
    SizerOne 8.0 
    VSSPELL 8.0