-
1. Re: disable rearrange columns of rich:extendedDT
mcmurdosound Jan 9, 2012 9:20 AM (in response to nimo22)Which version of richfaces are you using?
in rf3.3.x you can override the default ExtendDataTableRenderer (by editting the faces-config.xml)
Removing the following block:
writer.startElement("script", component);
getUtils().writeAttribute(writer, "type", "text/javascript" );
writer.writeText(convertToString("//"),null);
writer.write("<![CDATA[");
writer.write(convertToString("\n " + convertToString(encodeDragDropChildScripts(context,component)) + ";\n //"));
writer.write("]]>");
writer.endElement("script")
should be enough!
(But I haven't tried this before)
This will disabled the drag and drop feature for every extendedDataTable in your project!
-
2. Re: disable rearrange columns of rich:extendedDT
nimo22 Jan 10, 2012 3:38 AM (in response to mcmurdosound)Thanks for the workaround, but it should exist a property called rearrangeMode=none, for example.
-
3. Re: disable rearrange columns of rich:extendedDT
mcmurdosound Jan 10, 2012 4:51 AM (in response to nimo22)I think there is currently no such property