This commit is contained in:
2021-02-06 00:31:14 +00:00
parent f8e965aadc
commit 4df81f485d
2 changed files with 12 additions and 7 deletions

View File

@@ -19,11 +19,12 @@ LISTVIEW REPLACE CURRENT <----HERE not THERE ---v
CLIENT
Mobile view
why does it not switch when switch widths and have to reset?
custom fields dont' show unless defined??
SERVER
Error when custom field is included in columns (not even filtered)
Should user be able to select custom fields in teh column selector if they are not set to show in the first place?
I would say gray them out as inactive but leave in UI for column selector?
Or hide them if not activated so they can't be selected?
Also, maybe don't return them to the client from the server if they are inactive in the first place
todo (after)

View File

@@ -884,9 +884,13 @@ function buildHeaders(columnData) {
h.flt = true;
}
//Sortable?
if (!cm.ns) {
//yes, is sortable
h.srt = true;
// if (!cm.ns) {
// //yes, is sortable
// h.srt = true;
// } else
if (cm.ns) {
h.sortable = false;
}
ret.push(h);
}