index | search | no replies | posting guidelines | help | login | register |
Index » Products » ASP DataGrid |
| |||||||
Jan 12 2005, 12:16 AM |
| ||||||
step from: france | Several inconsistencies: Impossible to define LocaleFile, Master-detail show only one field in master grid, Impossible to expand individually item (only all expand is availaible), conflict with ORDER BY : bug com exeption if the datagrid is sorted damage, this control misses coherence. | ||||||
Jan 14 2005, 1:47 PM |
| ||||||
ghost from: Washington, DC | Impossible to define LocaleFile, - the LocaleFile is a property of the ReportWizard (not the DataGrid). The DataGrid uses a manual API Master-detail show only one field in master grid, try the latest version (v2.4.78) and let me know if this solves the problem Impossible to expand individually item (only all expand is availaible), This is by design conflict with ORDER BY : bug com exeption if the datagrid is sorted You cannot add an ORDER BY clause in your SQL statement because the DataGrid can be sorted dynamically. ------------------------- Ghost | ||||||
Feb 4 2005, 5:23 AM |
| ||||||
ghost from: Washington, DC | You can use the DefaultSortOrder property to sort the datagrid for example: <% Dim objGrid 'Create an instance of DataGrid Set objGrid = Server .CreateObject("AspWebSolution.DataGrid" ) 'set your sql command objGrid.Command = "SELECT CompanyName, ContactName, Phone FROM Customers" objGrid.DefaultSortOrder = "ContactName" 'Create a databse connection objGrid.CreateConnection (strConn) %> ------------------------- Ghost | ||||||
Pages: (1) [1] |