[Dojo-interest] Enable text selection, copy/paste on
filteredTable widget
Tom Trenka
dojo-interest at dept-z.com
Wed Jan 3 09:28:39 MST 2007
It has to do with the way you select rows from the table, control clicking,
and that wonderful browser known to the world over as Internet Explorer.
Instead of extending the widget, you can always just loop through the cells
of the table after it's been rendered, and re-enable the selections using
the technique Shane mentioned.
trt
shaun_stanworth wrote:
>
> I don't have a problem with changing the source - just for
> information, any idea why it was disabled?
>
> At 01:55 PM 03/01/2007, you wrote:
>>You cannot select the text in a FilteringTable. However, if you
>>want to hack the source, just find every occurrence of
>> dojo.html.disableSelection
>>being used in the FilteringTable.js file and comment it out, and it
>>should work just fine
>>
>>Alternatively you could extend the table yourself with a custom
>>widget and change these lines - it's more work but obviously better
>>for upgrading later on as you won't have to redo the work every time.
>>
>>Shane
>>
>>On 03/01/07, Yogesh Mujumdar
>><<mailto:yogesh.mujumdar at gmail.com>yogesh.mujumdar at gmail.com> wrote:
>>If other than dojo is ok with you then you can take a look at this :
>>
>><http://www.scbr.com/docs/products/dhtmlxGrid/index.shtml>http://www.scbr.com/docs/products/dhtmlxGrid/index.shtml
>>
>>
>>One of the version is GPL i guess.
>>
>>
>>On 1/3/07,
>><mailto:shaun_stanworth at wordbank.com>shaun_stanworth at wordbank.com
>><<mailto:shaun_stanworth at wordbank.com>shaun_stanworth at wordbank.com >
wrote:
>>Hi all
>>
>>Very quick question regarding the filteredTable widget - is it
>>possible to allow text selection and copy/paste on the table
>>contents? It feels very strange not being able to.
>>
>>For information I'm using version 0.4
>>
>>Shaun
>>
>>_______________________________________________
>>Dojo FAQ: <http://dojo.jot.com/FAQ>http://dojo.jot.com/FAQ
>>Dojo Book:
>><http://manual.dojotoolkit.org/DojoDotBook>http://manual.dojotoolkit.org/DojoDotBook
>><mailto:Dojo-interest at dojotoolkit.org>Dojo-interest at dojotoolkit.org
>><http://dojotoolkit.org/mailman/listinfo/dojo-interest>http://dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>
>>
>>
>>
>>--
>>regards/Yogesh
>>_______________________________________________
>>Dojo FAQ: <http://dojo.jot.com/FAQ>http://dojo.jot.com/FAQ
>>Dojo Book:
>><http://manual.dojotoolkit.org/DojoDotBookDojo-interest@dojotoolkit.org>http://manual.dojotoolkit.org/DojoDotBook
>>Dojo-interest at dojotoolkit.org
>>http://dojotoolkit.org/mailman/listinfo/dojo-interest
>>
>>
>>
>>_______________________________________________
>>Dojo FAQ: http://dojo.jot.com/FAQ
>>Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>>Dojo-interest at dojotoolkit.org
>>http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>
>
--
View this message in context: http://www.nabble.com/Enable-text-selection%2C-copy-paste-on-filteredTable-widget-tf2913422.html#a8143722
Sent from the Dojo mailing list archive at Nabble.com.
More information about the Dojo-interest
mailing list