3/17/2026 6:29:00 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!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
v7.5 - Grid Sort "Breaks" Delete Column function
Posted: 14 May 09 7:30 AM
|
Hi all.
Ryan Farley helped me with some code that automatically sorts an account tab grid using the load action property on the grid (see "Automatically Sorting a Data Grid?" thread). That code works great, however it appears to have impacted our ability to delete records from the grid. The grid includes a Delete Column that works fine when the sort code is disabled. When I enable the sort code, the delete column delets the wrong record in the grid list. I can't identify a pattern as it does not appear to always delete the same "wrong" record.
Do I need to do something with the properties on the delete column so that it knows what record to delete? I see a "sort field" property, but I am uncertain as to what it is for.
Thanks for any help!
Jim M. |
|
|
|
Re: v7.5 - Grid Sort "Breaks" Delete Column function
Posted: 14 May 09 7:41 AM
|
| Did you write custom code for the delete function as well? If not sounds like a bug - they probably reference the grid row and then use that to delete from the data set or vice versa. |
|
|
| |
|
Re: v7.5 - Grid Sort "Breaks" Delete Column function
Posted: 19 May 09 3:51 AM
|
I think this is is a bug - I've seen it before. The only way I could get around it was by writing a custom delete method. It looks like it gets the current record by looking at the datasource as opposed to the grid - and maybe because the sort method is on the grid itself it doesnt sort the datasource as well? Just a theory, didnt have a lot of time to spend investigating it in the end...
Cheers, Nick |
|
|
|
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!
|
|
|
|
|
|
|
|