Greetings,
I'm currently in a bit of a pickle on a project.
I have a grid with the following columns:
DocID (bound column that is a string and display is false),
Type (a templated column that has an image in it),
DisplayName (bound column that is a string),
Owner (bound column that is an int that has display of false),
OwnerName (bound column that is a string),
ModifiedBy (bound column that is an int and has a display of false),
ModifiedByName (templated column with a label within it),
ModifiedDate (bound column with a datetime in it)
I sort on all columns, with exclusion of the ones with display hidden and Type. The issue I'm having is with ModifiedByDate. This column is populated with data during OnItemDataBound. It is loaded based on the ModifiedBy field's value. To populate it, I go to the database during OnItemDataBound and fill in the label that is within the column.
What I'm curious on is is there a way to sort this column? Our Data Transfer Object (DTO) doesn't have a place in it for it, plus it's been deemed that it won't ever have one either. So, my question is, how would I sort this field? Thank you for any answers.
~Chad Johnson
I'm currently in a bit of a pickle on a project.
I have a grid with the following columns:
DocID (bound column that is a string and display is false),
Type (a templated column that has an image in it),
DisplayName (bound column that is a string),
Owner (bound column that is an int that has display of false),
OwnerName (bound column that is a string),
ModifiedBy (bound column that is an int and has a display of false),
ModifiedByName (templated column with a label within it),
ModifiedDate (bound column with a datetime in it)
I sort on all columns, with exclusion of the ones with display hidden and Type. The issue I'm having is with ModifiedByDate. This column is populated with data during OnItemDataBound. It is loaded based on the ModifiedBy field's value. To populate it, I go to the database during OnItemDataBound and fill in the label that is within the column.
What I'm curious on is is there a way to sort this column? Our Data Transfer Object (DTO) doesn't have a place in it for it, plus it's been deemed that it won't ever have one either. So, my question is, how would I sort this field? Thank you for any answers.
~Chad Johnson