I’ve developed a Lo (6.2) calc dialog containing multiple controls along with 3 dynamic grid controls. All string columns sort when the column header is clicked. However, one column of numbers does not accept a click on the header. If I use cStr(number) to insert into the column it will sort, but obviously the numeric value is not considered. Is there an attribute or option to solve this problem? Thanks.
Part deux - Thanks for the hint Ratslinger. I’ve included a short excerpt of the application. Additionally, I’ve discovered the column sort on the numeric column only failed when one of the values was less than 128. In the attached file if you run macro “Main” and click on the “Number” column in the grid, it will not sort. However, change the 127 value to 128 in the spreadsheet cell C1, and run the macro again, the column will sort. I went through a number of iterations and found this phenomenon. What significance can 128 have in determining whether a numeric column will sort in the grid? Thanks again.Coinexamp.ods