Hi Champs,
I have a grid where I have a column in which I am showing a recordaction component based on some conditions. So that column can show a button(recordAction) or it will be blank.
Now I have a requirement where I need to first show the row where I have the column having the button and then the rows where the column is blank. Secondly, I need to again sort the data based on the name .
I am not sure whether we have a easy way to do the same?
Regards,
Ghanashyam
Discussion posts and replies are publicly visible
IntialSorts takes an array so you can have two sortinfo in your grid layout. Your first sorting could be based on the field which is helping to show the button and then second sorting could be on basis of name
the column which shows the button is based on some conditions as I have mentioned which again get the data from some different record not from the record where we are getting the data for the grid. I don't think we can give conditions in the sorting field to show the columns having button first?