Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A doesn't handle columns with null values


I'm applying the class to my table columns for sorting as/descending.

The functionality I'm trying to achieve is to sort all values that equal null to the top of the table.

Is there a way to do this?? Currently the code exits out at this line:

if (elementComparator == null)
{ //not a sortable column 
	return; // exits out here

How can I tackle this??


I just put in values into the entire column, but its still throwing a null pointer exception?




PS. My sortable table column doesn't appear with the Sort By Ascending / Descending icon, it just has a pointer hand on can I have the icon please?

Edited by: Marshall Mathers on Apr 30, 2009 1:04 AM

Former Member
Not what you were looking for? View more on this topic or Ask a question