Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Tuesday, November 26, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/26/2024 9:26:14 AM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to Controls
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: DataGrid control Sortable = False When to use it?
RJ Samp
Posts: 973
DataGrid control Sortable = False When to use it?
Posted: 07 Jan 10 9:47 AM
Has anyone ever set this to false? Why and when? I think designers with a low amount of SLX knowledge glom onto the word 'Sort' and think it has something to do with the recordset order as it appears in the grid.....when it's AutoSort = False that they actually want (prevent user from sorting on a grid caption header to sort by that column).
enquiring minds want to know!
Thanks!
[
Reply
][
Quote
]
Raul A. Chavez
Posts: 1300
Re: DataGrid control Sortable = False When to use it?
Posted: 07 Jan 10 10:40 AM
Based on the Description:
Sortable = True:
- Loads whole Dataset to Memory
- Allows Sorting functionality
- Allows Grouping Functionality
AutoSort = True
Instruct the grid to handle any clicks on the Column Headers as request to Sort by the clicked on Column and requires Sortable = true
However, I have done some testing, and I am able to sort a grid even without having "Sortable = True" (then again, maybe it has a different effect on larger datasets.
[
Reply
][
Quote
]
RJ Samp
Posts: 973
Re: DataGrid control Sortable = False When to use it?
Posted: 08 Jan 10 2:02 PM
the user selection collection is adversely affected by sortable = false.....you get a bogus selection. Say the user selects 100 random rows from 6 scrollable pages of 30 rows each.....how many rows has the user selected?
Well according to a visual count of highlighted/selected rows the answer is 100.....but due to sortable = false the answer is at most 30 (one viewable page).
Depending on joins and such, you still may be able to sort on a column header with sortable =false....but in my grid, sorting on the rightmost visible column gives me an ambiguous column name error....that's because SLX OLE DB Provider SQL is reusing SQL Table Aliases and not changning the ORDER BY ALIASES!!!!!
Ouch.
Sortable = True:
- Loads whole Dataset to Memory (into the grid)
- Allows AutoSorting functionality (one column sort based on Header Caption click)
- Allows Grouping Functionality
- Allows for accurate user selection collection creation.
- slow loads for large datasets
- slow sorts for large datasets, painfully slow.
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/26/2024 9:30:56 AM