:: Forum >>

Removing actions from the Header row

I didn't believe it could be done but you sure have done it! One of the greatest display of web programming I have seen.

Now to my questions:

Can I remove the function from the Header row that sorts by the table by the column on-click? Since the data I display spans several pages I have a link in the header that sorts the data across the several pages.

Another question: Can I remove the resizing function from a single column? The left-most column I display is a checkbox and I don't want the user to be able to resize this column... is it possible?

Thanks again for the code,
Roy.
Roy
Sunday, March 7, 2004
var header = new Active.Templates.Header;
header.setEvent("onmousedown", null);
obj.setTemplate("top/item", header);

The second could be done by hiding resize element (CSS):
.active-column-0 .active-box-resize {display: none}
Alex (ActiveWidgets)
Monday, March 8, 2004
It sure did work!

Thanks a lot :)
Roy
Roy
Tuesday, March 9, 2004

This topic is archived.


Back to support forum

Forum search