Just learned that you need to use a row’s DisplayIndex rather than its DataItemIndex when retrieving its DataKey value. Otherwise, stuff is not going to work with paging.
Not obvious. But I guess it makes sense.
DataItemIndex is the index of the row within the overall data set. DisplayIndex is the index of the row within [...]