celldata = "";
cellSortData = "";
recordList = "";
recordListCount = 0;
recordHTML = "";
includeCatImages = true;
catName = "";
calIconClass = "dsCalEventRecordCatIcon";
calCatClass = "dsCalEventCatBox";
recordList = request.datasheet.currentColumnValue;
iconStruct = StructNew();
recordQry = application.ptCalendar.calEventCategoriesDAO.getActiveEventCategoriesQuery(catID=recordList);
// Count the generated list
//if ( LEN(TRIM(recordList)) )
//recordListCount = ListLen(recordList,",");
// Get the Element Data as a list form for the IDs in stored column values
//recordNameList = application.ptCalendar.calEventCategoriesDAO.getEventCategoryNames(uniqueID=recordList);
#TRIM(catName)#
// Modify the list for display
//recordListHTML = recordNameList;
//if ( recordListCount LTE 0 )
// recordListHTML = "[None Selected]";
//else
// recordListHTML = REREPLACE(recordListHTML,",","
","all");
// Remove spaces and replace
//recordListHTML = REREPLACE(recordListHTML,"[\s]"," ","all");
#recordHTML# |