|  |  | 
 |  |  |    int SetRow(int row) { return getKReport()->SetRow_(row); } | 
 |  |  | public: | 
 |  |  |    int GetColumnCount() { return getKReport()->GetColumnCount_(); } | 
 |  |  |    LPCTSTR GetColumnName(int col) { return getKReport()->GetColumnName_(col); } | 
 |  |  |    xstring GetColumnName(int col) { return getKReport()->GetColumnName_(col); } | 
 |  |  |    int GetColumnIndex(LPCTSTR pColumn) { return getKReport()->GetColumnIndex_(pColumn); } | 
 |  |  | public: | 
 |  |  |    xstring GetItemString(int nRow, int nColumn, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) | 
 |  |  | 
 |  |  |       return getKReport()->AllowSort(sort); | 
 |  |  |    } | 
 |  |  | public: | 
 |  |  |    int FindByColumn(int startRow, int columnIndex, LPCTSTR columnValue) | 
 |  |  |    int FindByColumn(int startRow, int columnIndex, xstring columnValue) | 
 |  |  |    { | 
 |  |  |       return getKReport()->FindByColumn(startRow, columnIndex, columnValue); | 
 |  |  |       return getKReport()->FindByColumn(startRow, columnIndex, columnValue.c_str()); | 
 |  |  |    } | 
 |  |  |    int FindByColumn(int startRow, LPCTSTR column, LPCTSTR columnValue) | 
 |  |  |    int FindByColumn(int startRow, xstring column, xstring columnValue) | 
 |  |  |    { | 
 |  |  |       return getKReport()->FindByColumn(startRow,column,columnValue); | 
 |  |  |       return getKReport()->FindByColumn(startRow,column.c_str(), columnValue.c_str()); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    int SetReadOnlyColumn(int columnIndex, bool flag = true) | 
 |  |  |    { | 
 |  |  |       return getKReport()->SetReadOnlyColumn(columnIndex, flag); | 
 |  |  |    } | 
 |  |  |    int SetReadOnlyColumn(LPCTSTR column, bool flag = true) | 
 |  |  |    int SetReadOnlyColumn(xstring column, bool flag = true) | 
 |  |  |    { | 
 |  |  |       return getKReport()->SetReadOnlyColumn(column, flag); | 
 |  |  |       return getKReport()->SetReadOnlyColumn(column.c_str(), flag); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    int SetColumnWidth(int columnIndex, int width = 1) | 
 |  |  | 
 |  |  |    } | 
 |  |  |    int AcceptText() | 
 |  |  |    { | 
 |  |  |       return getKReport()->AcceptText(); | 
 |  |  |       return getKReport()->AcceptText_(); | 
 |  |  |    } | 
 |  |  |    int ShowRowTo(int row) | 
 |  |  |    { | 
 |  |  | 
 |  |  |       DwRetrieve(ServerUrl, src, arg.GetString()); | 
 |  |  |       return 1; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    xstring GetItemDisplayXmlString(int nRow, int nColumn, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) | 
 |  |  |    { | 
 |  |  |       return xutil::ToXmlText(getKReport()->GetItemDisplayString(nRow, nColumn, dwBuffer)); | 
 |  |  |    } | 
 |  |  |    xstring GetItemDisplayXmlString(int nRow, xstring ColumnName, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) | 
 |  |  |    { | 
 |  |  |       return xutil::ToXmlText(getKReport()->GetItemDisplayString(nRow, ColumnName.c_str(), dwBuffer)); | 
 |  |  |    } | 
 |  |  |    xstring GetItemXmlString(int nRow, int nColumn, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) | 
 |  |  |    { | 
 |  |  |       return xutil::ToXmlText(getKReport()->GetItemString_(nRow, nColumn, dwBuffer)); | 
 |  |  |    } | 
 |  |  |    xstring GetItemXmlString(int nRow, xstring ColumnName, kdwgrid::DWBuffer dwBuffer = kdwgrid::dbuf_normal) | 
 |  |  |    { | 
 |  |  |       return xutil::ToXmlText(getKReport()->GetItemString_(nRow, ColumnName.c_str(), dwBuffer)); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  | }; | 
 |  |  |  | 
 |  |  |  |