On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
> Dear All,
> It seems quit a while already but if any one is still interested, I have > just released a TableEdit plugin that might do the job. You can visit my > TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler in the > Public section. Comments and suggestions are welcome.
> Best,
> Vincent
> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>> Good evening Eric,
>> I was just wondering if you had any idea of how soon in the future you >> planned on working on/releasing the EditableTablePlugin (see bottom of your >> post below) >> Please, do note take this as a personal request for more work from you on >> TW, as I can already hardly believe how much you contribute to it >> already... ;)
>> In fact, I was just wondering if this was a distant idea in your mind or >> something you were already working on today, to know if it was worth >> waiting (even a couple more months or 6 months, I don't care) before >> starting a new task on my side that is going to involve a very large (>100) >> number of tables. This task is not urgent (well, it has to be finished some >> day, in like 9 months), but it might spare me so much time once this >> miraculous plugin would be released that I could wait a long time before >> starting the task, if only I knew you were to publish it in a >> "not-further-than-6-months" delay.
>> Thanks again for your great work anyway
>> -Nicolas
>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>> > I'm looking for a plugin which allows to edit the content of a table >>> > cell in a tiddlywiki simply by clicking it with your mouse cursor. >>> > Especially in big tables, it would be much more convenient to edit >>> > content that way. As far as I can remember I once stumbled upon a >>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>> *generates* a grid (table) that displays tiddler slice values and >>> includes an "edit-in-place" feature: click a value in a grid cell and >>> it changes to an edit field. Type your input. Press enter (or click >>> away). The value you input is then written back to the corresponding >>> tiddler slice.
>>> Note that, currently, this feature only works within SliceGridPlugin's >>> generated tables. However, I am working on a re-factoring my edit-in- >>> place code into a separate "EditableTablePlugin" so that it CAN be >>> used with ANY table.
>>> I let you know when it's available.
>>> -e >>> Eric Shulman >>> TiddlyTools / ELS Design Studios
Thank you for the feedback. I guess I need to look into the details of
SortableGridPlugin to fix the problem. I may need some time on that and
certainly I would be very happy if you'd help on debugging. Thanks again
for the info.
> ...where the |h invokes the sorting plugin, I simply get no edit button.
> If I omit the h, all is good.
> Happy to help you debug if you'd like. Great work, again.
> Cheers,
> David Szego
> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>> Dear All,
>> It seems quit a while already but if any one is still interested, I have
>> just released a TableEdit plugin that might do the job. You can visit my
>> TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler in
>> the Public section. Comments and suggestions are welcome.
>> Best,
>> Vincent
>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>> Good evening Eric,
>>> I was just wondering if you had any idea of how soon in the future you
>>> planned on working on/releasing the EditableTablePlugin (see bottom of your
>>> post below)
>>> Please, do note take this as a personal request for more work from you
>>> on TW, as I can already hardly believe how much you contribute to it
>>> already... ;)
>>> In fact, I was just wondering if this was a distant idea in your mind or
>>> something you were already working on today, to know if it was worth
>>> waiting (even a couple more months or 6 months, I don't care) before
>>> starting a new task on my side that is going to involve a very large (>100)
>>> number of tables. This task is not urgent (well, it has to be finished some
>>> day, in like 9 months), but it might spare me so much time once this
>>> miraculous plugin would be released that I could wait a long time before
>>> starting the task, if only I knew you were to publish it in a
>>> "not-further-than-6-months" delay.
>>> Thanks again for your great work anyway
>>> -Nicolas
>>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>>> > I'm looking for a plugin which allows to edit the content of a table
>>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor.
>>>> > Especially in big tables, it would be much more convenient to edit
>>>> > content that way. As far as I can remember I once stumbled upon a
>>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>> *generates* a grid (table) that displays tiddler slice values and
>>>> includes an "edit-in-place" feature: click a value in a grid cell and
>>>> it changes to an edit field. Type your input. Press enter (or click
>>>> away). The value you input is then written back to the corresponding
>>>> tiddler slice.
>>>> Note that, currently, this feature only works within SliceGridPlugin's
>>>> generated tables. However, I am working on a re-factoring my edit-in-
>>>> place code into a separate "EditableTablePlugin" so that it CAN be
>>>> used with ANY table.
>>>> I let you know when it's available.
>>>> -e
>>>> Eric Shulman
>>>> TiddlyTools / ELS Design Studios
>>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/tiddlywiki/-/kiCkPoWdfNQJ.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywiki+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
-- Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O) 8633723 (Lab)
Yes I have that tiddler set up and running. it works great but just not with the editing of the inline boxes. so when I hit "enter" it says I can not save it...I want that to push to "uploadtiddler" plugin...is that possible?
> On Thursday, June 28, 2012 10:08:38 PM UTC+8, anthony wrote:
>> That does make sense, and I really really appreciate the time effort and >> replys you have provided!
>> Maybe I can provide SOME insight into what I am trying to accomplish and >> help this along the way. I am using a second plugin called "upload plugin" ( >> http://tiddlywiki.bidix.info/#UploadPlugin) There is a "macro" that is >> for "save to web" that would (i think) need to be pointed to for the enter >> function you created. So instead of it trying to "save" it will just punch >> save to web instead? I don't know...
>> Thank you very very much!
>> On Monday, June 25, 2012 8:09:22 PM UTC-5, Vincent Yeh wrote:
>>> Anthony, thank you for trying the plugin and giving feedbacks. And for >>> your last question on uploading, I have no idea how to do that currently (I >>> have experiences in programming but not much in javascript and the web >>> things.) It will take me sometime to figure out. If someone has answers and >>> would like to contribute, it will be highly appreciated.
>>> Eric, thank you for pointing out the key point which I never knew myself.
>>> I have been using Google Chrome for the development of this plugin >>> (inspired by and modified from TableSortingPlugin v2.0.2 by Saq Imtiaz >>> and GridPlugin v2.0.7 by Eric Shulman. Many thanks to them.) It seems to >>> work just fine for me and I turned out to forget about other browsers. Next >>> time I will try them out myself but as mentioned above most likely I do not >>> have the knowledge to fix the cross-browser things. I shall be relying on >>> more experienced people to do that.
>>> Vincent
>>> On Tuesday, June 26, 2012 2:05:25 AM UTC+8, anthony wrote:
>>>> Last question...sorry for so much spam...
>>>> I am using this wiki as a webbased system, when I edit the table I >>>> would like for it to upload to the web versus to a local file...is there >>>> anyway for that to be done?
>>>> On Monday, June 25, 2012 12:55:56 PM UTC-5, anthony wrote:
>>>>> spamming...sorry
>>>>> I fixed the issue with IE, it was a version issue. I was using IE8 >>>>> (preferred over here) but upgraded to 9 and it is working PERFECTLY. this >>>>> plugin is going to make our tiddlywiki amazing in terms of what we were >>>>> trying to do.
>>>>> So in short I think IE8 may not work properly with this plugin.
>>>>> On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote:
>>>>>> On Jun 25, 8:23 am, anthony <i...@ufocomputerservices.com> wrote: >>>>>> > Just tried your plugin...am I missing something? I loaded the >>>>>> plugin and >>>>>> > tried your example both on my tiddly and yours and neither were >>>>>> > editable...maybe I am just missing something though.
>>>>>> The plugin works in IE, but not in FF or other browsers.
>>>>>> The reason is because IE uses a different method of processing >>>>>> events. In IE, all events are processed by first setting a global >>>>>> variable "event" and then invoking the appropriate onclick handler to >>>>>> process the event. However, in other browsers, the event is *passed* >>>>>> to the handler as a parameter.
>>>>>> The plugin problem arises due to this line of code:
>>>>>> This allows non-IE browsers to properly use the passed in event as a >>>>>> variable named 'ev', while IE continues to fallback to using the >>>>>> global 'event' variable.
>>>>>> enjoy, >>>>>> -e >>>>>> Eric Shulman >>>>>> TiddlyTools / ELS Design Studios
I guess I'll need to try it real to know what's going on. Which web based
service are you using? Or which one you suggest me to try? I have never
used one before so have no idea about it.
> Yes I have that tiddler set up and running. it works great but just not
> with the editing of the inline boxes. so when I hit "enter" it says I can
> not save it...I want that to push to "uploadtiddler" plugin...is that
> possible?
> On Sunday, July 1, 2012 9:29:58 AM UTC-5, Vincent Yeh wrote:
>> On Thursday, June 28, 2012 10:08:38 PM UTC+8, anthony wrote:
>>> That does make sense, and I really really appreciate the time effort and
>>> replys you have provided!
>>> Maybe I can provide SOME insight into what I am trying to accomplish and
>>> help this along the way. I am using a second plugin called "upload plugin" (
>>> http://tiddlywiki.bidix.info/**#UploadPlugin<http://tiddlywiki.bidix.info/#UploadPlugin>)
>>> There is a "macro" that is for "save to web" that would (i think) need to
>>> be pointed to for the enter function you created. So instead of it trying
>>> to "save" it will just punch save to web instead? I don't know...
>>> Thank you very very much!
>>> On Monday, June 25, 2012 8:09:22 PM UTC-5, Vincent Yeh wrote:
>>>> Anthony, thank you for trying the plugin and giving feedbacks. And for
>>>> your last question on uploading, I have no idea how to do that currently (I
>>>> have experiences in programming but not much in javascript and the web
>>>> things.) It will take me sometime to figure out. If someone has answers and
>>>> would like to contribute, it will be highly appreciated.
>>>> Eric, thank you for pointing out the key point which I never knew
>>>> myself.
>>>> I have been using Google Chrome for the development of this plugin
>>>> (inspired by and modified from TableSortingPlugin v2.0.2 by Saq Imtiaz
>>>> and GridPlugin v2.0.7 by Eric Shulman. Many thanks to them.) It seems to
>>>> work just fine for me and I turned out to forget about other browsers. Next
>>>> time I will try them out myself but as mentioned above most likely I do not
>>>> have the knowledge to fix the cross-browser things. I shall be relying on
>>>> more experienced people to do that.
>>>> Vincent
>>>> On Tuesday, June 26, 2012 2:05:25 AM UTC+8, anthony wrote:
>>>>> Last question...sorry for so much spam...
>>>>> I am using this wiki as a webbased system, when I edit the table I
>>>>> would like for it to upload to the web versus to a local file...is there
>>>>> anyway for that to be done?
>>>>> On Monday, June 25, 2012 12:55:56 PM UTC-5, anthony wrote:
>>>>>> spamming...sorry
>>>>>> I fixed the issue with IE, it was a version issue. I was using IE8
>>>>>> (preferred over here) but upgraded to 9 and it is working PERFECTLY. this
>>>>>> plugin is going to make our tiddlywiki amazing in terms of what we were
>>>>>> trying to do.
>>>>>> So in short I think IE8 may not work properly with this plugin.
>>>>>> On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote:
>>>>>>> On Jun 25, 8:23 am, anthony <i...@ufocomputerservices.com> wrote:
>>>>>>> > Just tried your plugin...am I missing something? I loaded the
>>>>>>> plugin and
>>>>>>> > tried your example both on my tiddly and yours and neither were
>>>>>>> > editable...maybe I am just missing something though.
>>>>>>> The plugin works in IE, but not in FF or other browsers.
>>>>>>> The reason is because IE uses a different method of processing
>>>>>>> events. In IE, all events are processed by first setting a global
>>>>>>> variable "event" and then invoking the appropriate onclick handler
>>>>>>> to
>>>>>>> process the event. However, in other browsers, the event is
>>>>>>> *passed*
>>>>>>> to the handler as a parameter.
>>>>>>> The plugin problem arises due to this line of code:
>>>>>>> This allows non-IE browsers to properly use the passed in event as a
>>>>>>> variable named 'ev', while IE continues to fallback to using the
>>>>>>> global 'event' variable.
>>>>>>> enjoy,
>>>>>>> -e
>>>>>>> Eric Shulman
>>>>>>> TiddlyTools / ELS Design Studios
>>>>>>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/tiddlywiki/-/MUSX6ah2wCMJ.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywiki+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
-- Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O) 8633723 (Lab)
NOOOO YOU ARE AMAZING the newest version you have created is working PERFECTLYYYYYYYY I AM DANCING OVER HERE!!!!!
okay...one thing my boss would also want and again I am severely at your debt is "calculations" we have a "days in" cell that basically tells us how many days a computer has been in house, =today()-B3 is the formula. b3 is the cell we put in the date as. IS there any way for us to integrate that? I know there is a plugin out there that does do simple calculations...
On Friday, July 6, 2012 9:46:46 AM UTC-5, Vincent Yeh wrote:
> anthony,
> I guess I'll need to try it real to know what's going on. Which web based > service are you using? Or which one you suggest me to try? I have never > used one before so have no idea about it.
>> Yes I have that tiddler set up and running. it works great but just not >> with the editing of the inline boxes. so when I hit "enter" it says I can >> not save it...I want that to push to "uploadtiddler" plugin...is that >> possible?
>> On Sunday, July 1, 2012 9:29:58 AM UTC-5, Vincent Yeh wrote:
>>> On Thursday, June 28, 2012 10:08:38 PM UTC+8, anthony wrote:
>>>> That does make sense, and I really really appreciate the time effort >>>> and replys you have provided!
>>>> Maybe I can provide SOME insight into what I am trying to accomplish >>>> and help this along the way. I am using a second plugin called "upload >>>> plugin" (http://tiddlywiki.bidix.info/**#UploadPlugin<http://tiddlywiki.bidix.info/#UploadPlugin>) >>>> There is a "macro" that is for "save to web" that would (i think) need to >>>> be pointed to for the enter function you created. So instead of it trying >>>> to "save" it will just punch save to web instead? I don't know...
>>>> Thank you very very much!
>>>> On Monday, June 25, 2012 8:09:22 PM UTC-5, Vincent Yeh wrote:
>>>>> Anthony, thank you for trying the plugin and giving feedbacks. And for >>>>> your last question on uploading, I have no idea how to do that currently (I >>>>> have experiences in programming but not much in javascript and the web >>>>> things.) It will take me sometime to figure out. If someone has answers and >>>>> would like to contribute, it will be highly appreciated.
>>>>> Eric, thank you for pointing out the key point which I never knew >>>>> myself.
>>>>> I have been using Google Chrome for the development of this plugin >>>>> (inspired by and modified from TableSortingPlugin v2.0.2 by Saq Imtiaz >>>>> and GridPlugin v2.0.7 by Eric Shulman. Many thanks to them.) It seems to >>>>> work just fine for me and I turned out to forget about other browsers. Next >>>>> time I will try them out myself but as mentioned above most likely I do not >>>>> have the knowledge to fix the cross-browser things. I shall be relying on >>>>> more experienced people to do that.
>>>>> Vincent
>>>>> On Tuesday, June 26, 2012 2:05:25 AM UTC+8, anthony wrote:
>>>>>> Last question...sorry for so much spam...
>>>>>> I am using this wiki as a webbased system, when I edit the table I >>>>>> would like for it to upload to the web versus to a local file...is there >>>>>> anyway for that to be done?
>>>>>> On Monday, June 25, 2012 12:55:56 PM UTC-5, anthony wrote:
>>>>>>> spamming...sorry
>>>>>>> I fixed the issue with IE, it was a version issue. I was using IE8 >>>>>>> (preferred over here) but upgraded to 9 and it is working PERFECTLY. this >>>>>>> plugin is going to make our tiddlywiki amazing in terms of what we were >>>>>>> trying to do.
>>>>>>> So in short I think IE8 may not work properly with this plugin.
>>>>>>> On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote:
>>>>>>>> On Jun 25, 8:23 am, anthony <i...@ufocomputerservices.com> wrote: >>>>>>>> > Just tried your plugin...am I missing something? I loaded the >>>>>>>> plugin and >>>>>>>> > tried your example both on my tiddly and yours and neither were >>>>>>>> > editable...maybe I am just missing something though.
>>>>>>>> The plugin works in IE, but not in FF or other browsers.
>>>>>>>> The reason is because IE uses a different method of processing >>>>>>>> events. In IE, all events are processed by first setting a global >>>>>>>> variable "event" and then invoking the appropriate onclick handler >>>>>>>> to >>>>>>>> process the event. However, in other browsers, the event is >>>>>>>> *passed* >>>>>>>> to the handler as a parameter.
>>>>>>>> The plugin problem arises due to this line of code:
>>>>>>>> This allows non-IE browsers to properly use the passed in event as >>>>>>>> a >>>>>>>> variable named 'ev', while IE continues to fallback to using the >>>>>>>> global 'event' variable.
>>>>>>>> enjoy, >>>>>>>> -e >>>>>>>> Eric Shulman >>>>>>>> TiddlyTools / ELS Design Studios
>>>>>>>> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/tiddlywiki/-/MUSX6ah2wCMJ. >> To post to this group, send email to tiddlywiki@googlegroups.com. >> To unsubscribe from this group, send email to >> tiddlywiki+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/tiddlywiki?hl=en.
> -- > Wang-Chi Vincent Yeh, Assistant Professor > Department of Physics, National Dong Hwa University > Tel: 8633719 (O) 8633723 (Lab)
There is a way to make both TableEdit and SortableGridPlugin work together:
add both classes to the table - |editable sortable|k.
However, the SortableGridPlugin is sorting every thing, so when I pressed
the header (to invoke the sorting function) with editing features enabled,
everything got messed up! Worse yet, the Edit button got removed when I
disabled the editing features. This seems not an easy problem to fix...
They work well if not invoked at the same time, though.
> ...where the |h invokes the sorting plugin, I simply get no edit button.
> If I omit the h, all is good.
> Happy to help you debug if you'd like. Great work, again.
> Cheers,
> David Szego
> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>> Dear All,
>> It seems quit a while already but if any one is still interested, I have
>> just released a TableEdit plugin that might do the job. You can visit my
>> TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler in
>> the Public section. Comments and suggestions are welcome.
>> Best,
>> Vincent
>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>> Good evening Eric,
>>> I was just wondering if you had any idea of how soon in the future you
>>> planned on working on/releasing the EditableTablePlugin (see bottom of your
>>> post below)
>>> Please, do note take this as a personal request for more work from you
>>> on TW, as I can already hardly believe how much you contribute to it
>>> already... ;)
>>> In fact, I was just wondering if this was a distant idea in your mind or
>>> something you were already working on today, to know if it was worth
>>> waiting (even a couple more months or 6 months, I don't care) before
>>> starting a new task on my side that is going to involve a very large (>100)
>>> number of tables. This task is not urgent (well, it has to be finished some
>>> day, in like 9 months), but it might spare me so much time once this
>>> miraculous plugin would be released that I could wait a long time before
>>> starting the task, if only I knew you were to publish it in a
>>> "not-further-than-6-months" delay.
>>> Thanks again for your great work anyway
>>> -Nicolas
>>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>>> > I'm looking for a plugin which allows to edit the content of a table
>>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor.
>>>> > Especially in big tables, it would be much more convenient to edit
>>>> > content that way. As far as I can remember I once stumbled upon a
>>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>> *generates* a grid (table) that displays tiddler slice values and
>>>> includes an "edit-in-place" feature: click a value in a grid cell and
>>>> it changes to an edit field. Type your input. Press enter (or click
>>>> away). The value you input is then written back to the corresponding
>>>> tiddler slice.
>>>> Note that, currently, this feature only works within SliceGridPlugin's
>>>> generated tables. However, I am working on a re-factoring my edit-in-
>>>> place code into a separate "EditableTablePlugin" so that it CAN be
>>>> used with ANY table.
>>>> I let you know when it's available.
>>>> -e
>>>> Eric Shulman
>>>> TiddlyTools / ELS Design Studios
> To post to this group, send email to tiddlywiki@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywiki+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
-- Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O) 8633723 (Lab)
> NOOOO
> YOU
> ARE
> AMAZING
> the newest version you have created is working PERFECTLYYYYYYYY I AM
> DANCING OVER HERE!!!!!
> okay...one thing my boss would also want and again I am severely at your
> debt is "calculations" we have a "days in" cell that basically tells us how
> many days a computer has been in house, =today()-B3 is the formula. b3 is
> the cell we put in the date as. IS there any way for us to integrate that?
> I know there is a plugin out there that does do simple calculations...
> On Friday, July 6, 2012 9:46:46 AM UTC-5, Vincent Yeh wrote:
>> anthony,
>> I guess I'll need to try it real to know what's going on. Which web based
>> service are you using? Or which one you suggest me to try? I have never
>> used one before so have no idea about it.
>> Vincent
>> 2012/7/6 anthony <i...@ufocomputerservices.com>
>>> Yes I have that tiddler set up and running. it works great but just not
>>> with the editing of the inline boxes. so when I hit "enter" it says I can
>>> not save it...I want that to push to "uploadtiddler" plugin...is that
>>> possible?
>>> On Sunday, July 1, 2012 9:29:58 AM UTC-5, Vincent Yeh wrote:
>>>> On Thursday, June 28, 2012 10:08:38 PM UTC+8, anthony wrote:
>>>>> That does make sense, and I really really appreciate the time effort
>>>>> and replys you have provided!
>>>>> Maybe I can provide SOME insight into what I am trying to accomplish
>>>>> and help this along the way. I am using a second plugin called "upload
>>>>> plugin" (http://tiddlywiki.bidix.info/****#UploadPlugin<http://tiddlywiki.bidix.info/#UploadPlugin>)
>>>>> There is a "macro" that is for "save to web" that would (i think) need to
>>>>> be pointed to for the enter function you created. So instead of it trying
>>>>> to "save" it will just punch save to web instead? I don't know...
>>>>> Thank you very very much!
>>>>> On Monday, June 25, 2012 8:09:22 PM UTC-5, Vincent Yeh wrote:
>>>>>> Anthony, thank you for trying the plugin and giving feedbacks. And
>>>>>> for your last question on uploading, I have no idea how to do that
>>>>>> currently (I have experiences in programming but not much in javascript and
>>>>>> the web things.) It will take me sometime to figure out. If someone has
>>>>>> answers and would like to contribute, it will be highly appreciated.
>>>>>> Eric, thank you for pointing out the key point which I never knew
>>>>>> myself.
>>>>>> I have been using Google Chrome for the development of this plugin
>>>>>> (inspired by and modified from TableSortingPlugin v2.0.2 by Saq Imtiaz
>>>>>> and GridPlugin v2.0.7 by Eric Shulman. Many thanks to them.) It seems to
>>>>>> work just fine for me and I turned out to forget about other browsers. Next
>>>>>> time I will try them out myself but as mentioned above most likely I do not
>>>>>> have the knowledge to fix the cross-browser things. I shall be relying on
>>>>>> more experienced people to do that.
>>>>>> Vincent
>>>>>> On Tuesday, June 26, 2012 2:05:25 AM UTC+8, anthony wrote:
>>>>>>> Last question...sorry for so much spam...
>>>>>>> I am using this wiki as a webbased system, when I edit the table I
>>>>>>> would like for it to upload to the web versus to a local file...is there
>>>>>>> anyway for that to be done?
>>>>>>> On Monday, June 25, 2012 12:55:56 PM UTC-5, anthony wrote:
>>>>>>>> spamming...sorry
>>>>>>>> I fixed the issue with IE, it was a version issue. I was using IE8
>>>>>>>> (preferred over here) but upgraded to 9 and it is working PERFECTLY. this
>>>>>>>> plugin is going to make our tiddlywiki amazing in terms of what we were
>>>>>>>> trying to do.
>>>>>>>> So in short I think IE8 may not work properly with this plugin.
>>>>>>>> On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote:
>>>>>>>>> On Jun 25, 8:23 am, anthony <i...@ufocomputerservices.com> wrote:
>>>>>>>>> > Just tried your plugin...am I missing something? I loaded the
>>>>>>>>> plugin and
>>>>>>>>> > tried your example both on my tiddly and yours and neither were
>>>>>>>>> > editable...maybe I am just missing something though.
>>>>>>>>> The plugin works in IE, but not in FF or other browsers.
>>>>>>>>> The reason is because IE uses a different method of processing
>>>>>>>>> events. In IE, all events are processed by first setting a global
>>>>>>>>> variable "event" and then invoking the appropriate onclick handler
>>>>>>>>> to
>>>>>>>>> process the event. However, in other browsers, the event is
>>>>>>>>> *passed*
>>>>>>>>> to the handler as a parameter.
>>>>>>>>> The plugin problem arises due to this line of code:
>>>>>>>>> This allows non-IE browsers to properly use the passed in event as
>>>>>>>>> a
>>>>>>>>> variable named 'ev', while IE continues to fallback to using the
>>>>>>>>> global 'event' variable.
>>>>>>>>> enjoy,
>>>>>>>>> -e
>>>>>>>>> Eric Shulman
>>>>>>>>> TiddlyTools / ELS Design Studios
>>>>>>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/tiddlywiki/-/MUSX6ah2wCMJ<https://groups.google.com/d/msg/tiddlywiki/-/MUSX6ah2wCMJ>
>>> .
>>> To post to this group, send email to tiddlywiki@googlegroups.com.
>>> To unsubscribe from this group, send email to tiddlywiki+unsubscribe@**
>>> googlegroups.com <tiddlywiki%2Bunsubscribe@googlegroups.com>.
>>> For more options, visit this group at http://groups.google.com/** >>> group/tiddlywiki?hl=en <http://groups.google.com/group/tiddlywiki?hl=en>
>>> .
>> --
>> Wang-Chi Vincent Yeh, Assistant Professor
>> Department of Physics, National Dong Hwa University
>> Tel: 8633719 (O) 8633723 (Lab)
> To post to this group, send email to tiddlywiki@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywiki+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
-- Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O) 8633723 (Lab)
you are an amazing person all around I will try that plugin to see what happens. In the mean time...what do you do for a living? or what is your profession...just curious really more than anything :).
Thanks again and keep me posted on your calculator!!!!
>> NOOOO >> YOU >> ARE >> AMAZING >> the newest version you have created is working PERFECTLYYYYYYYY I AM >> DANCING OVER HERE!!!!!
>> okay...one thing my boss would also want and again I am severely at your >> debt is "calculations" we have a "days in" cell that basically tells us how >> many days a computer has been in house, =today()-B3 is the formula. b3 >> is the cell we put in the date as. IS there any way for us to integrate >> that? I know there is a plugin out there that does do simple calculations...
>> On Friday, July 6, 2012 9:46:46 AM UTC-5, Vincent Yeh wrote:
>>> anthony,
>>> I guess I'll need to try it real to know what's going on. Which web >>> based service are you using? Or which one you suggest me to try? I have >>> never used one before so have no idea about it.
>>> Vincent
>>> 2012/7/6 anthony <i...@ufocomputerservices.com>
>>>> Yes I have that tiddler set up and running. it works great but just not >>>> with the editing of the inline boxes. so when I hit "enter" it says I can >>>> not save it...I want that to push to "uploadtiddler" plugin...is that >>>> possible?
>>>> On Sunday, July 1, 2012 9:29:58 AM UTC-5, Vincent Yeh wrote:
>>>>> On Thursday, June 28, 2012 10:08:38 PM UTC+8, anthony wrote:
>>>>>> That does make sense, and I really really appreciate the time effort >>>>>> and replys you have provided!
>>>>>> Maybe I can provide SOME insight into what I am trying to accomplish >>>>>> and help this along the way. I am using a second plugin called "upload >>>>>> plugin" (http://tiddlywiki.bidix.info/****#UploadPlugin<http://tiddlywiki.bidix.info/#UploadPlugin>) >>>>>> There is a "macro" that is for "save to web" that would (i think) need to >>>>>> be pointed to for the enter function you created. So instead of it trying >>>>>> to "save" it will just punch save to web instead? I don't know...
>>>>>> Thank you very very much!
>>>>>> On Monday, June 25, 2012 8:09:22 PM UTC-5, Vincent Yeh wrote:
>>>>>>> Anthony, thank you for trying the plugin and giving feedbacks. And >>>>>>> for your last question on uploading, I have no idea how to do that >>>>>>> currently (I have experiences in programming but not much in javascript and >>>>>>> the web things.) It will take me sometime to figure out. If someone has >>>>>>> answers and would like to contribute, it will be highly appreciated.
>>>>>>> Eric, thank you for pointing out the key point which I never knew >>>>>>> myself.
>>>>>>> I have been using Google Chrome for the development of this plugin >>>>>>> (inspired by and modified from TableSortingPlugin v2.0.2 by Saq Imtiaz >>>>>>> and GridPlugin v2.0.7 by Eric Shulman. Many thanks to them.) It seems to >>>>>>> work just fine for me and I turned out to forget about other browsers. Next >>>>>>> time I will try them out myself but as mentioned above most likely I do not >>>>>>> have the knowledge to fix the cross-browser things. I shall be relying on >>>>>>> more experienced people to do that.
>>>>>>> Vincent
>>>>>>> On Tuesday, June 26, 2012 2:05:25 AM UTC+8, anthony wrote:
>>>>>>>> Last question...sorry for so much spam...
>>>>>>>> I am using this wiki as a webbased system, when I edit the table I >>>>>>>> would like for it to upload to the web versus to a local file...is there >>>>>>>> anyway for that to be done?
>>>>>>>> On Monday, June 25, 2012 12:55:56 PM UTC-5, anthony wrote:
>>>>>>>>> spamming...sorry
>>>>>>>>> I fixed the issue with IE, it was a version issue. I was using IE8 >>>>>>>>> (preferred over here) but upgraded to 9 and it is working PERFECTLY. this >>>>>>>>> plugin is going to make our tiddlywiki amazing in terms of what we were >>>>>>>>> trying to do.
>>>>>>>>> So in short I think IE8 may not work properly with this plugin.
>>>>>>>>> On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote:
>>>>>>>>>> On Jun 25, 8:23 am, anthony <i...@ufocomputerservices.com> >>>>>>>>>> wrote: >>>>>>>>>> > Just tried your plugin...am I missing something? I loaded the >>>>>>>>>> plugin and >>>>>>>>>> > tried your example both on my tiddly and yours and neither were >>>>>>>>>> > editable...maybe I am just missing something though.
>>>>>>>>>> The plugin works in IE, but not in FF or other browsers.
>>>>>>>>>> The reason is because IE uses a different method of processing >>>>>>>>>> events. In IE, all events are processed by first setting a >>>>>>>>>> global >>>>>>>>>> variable "event" and then invoking the appropriate onclick >>>>>>>>>> handler to >>>>>>>>>> process the event. However, in other browsers, the event is >>>>>>>>>> *passed* >>>>>>>>>> to the handler as a parameter.
>>>>>>>>>> The plugin problem arises due to this line of code:
>>>>>>>>>> This allows non-IE browsers to properly use the passed in event >>>>>>>>>> as a >>>>>>>>>> variable named 'ev', while IE continues to fallback to using the >>>>>>>>>> global 'event' variable.
>>>>>>>>>> enjoy, >>>>>>>>>> -e >>>>>>>>>> Eric Shulman >>>>>>>>>> TiddlyTools / ELS Design Studios
>>>>>>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "TiddlyWiki" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/tiddlywiki/-/MUSX6ah2wCMJ<https://groups.google.com/d/msg/tiddlywiki/-/MUSX6ah2wCMJ> >>>> . >>>> To post to this group, send email to tiddlywiki@googlegroups.com. >>>> To unsubscribe from this group, send email to tiddlywiki+unsubscribe@** >>>> googlegroups.com <tiddlywiki%2Bunsubscribe@googlegroups.com>. >>>> For more options, visit this group at http://groups.google.com/** >>>> group/tiddlywiki?hl=en<http://groups.google.com/group/tiddlywiki?hl=en> >>>> .
>>> -- >>> Wang-Chi Vincent Yeh, Assistant Professor >>> Department of Physics, National Dong Hwa University >>> Tel: 8633719 (O) 8633723 (Lab)
>> To post to this group, send email to tiddlywiki@googlegroups.com. >> To unsubscribe from this group, send email to >> tiddlywiki+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/tiddlywiki?hl=en.
> -- > Wang-Chi Vincent Yeh, Assistant Professor > Department of Physics, National Dong Hwa University > Tel: 8633719 (O) 8633723 (Lab)
My mistakes. I was testing on TableSortingPlugin (http://tw.lewcid.org/#TableSortingPlugin| by Saq Imtiaz) instead of SortableGridPlugin. Either way there are some works to do.
On Friday, July 6, 2012 11:05:56 PM UTC+8, Vincent Yeh wrote:
> David,
> There is a way to make both TableEdit and SortableGridPlugin work > together: add both classes to the table - |editable sortable|k.
> However, the SortableGridPlugin is sorting every thing, so when I pressed > the header (to invoke the sorting function) with editing features enabled, > everything got messed up! Worse yet, the Edit button got removed when I > disabled the editing features. This seems not an easy problem to fix...
> They work well if not invoked at the same time, though.
>> ...where the |h invokes the sorting plugin, I simply get no edit button. >> If I omit the h, all is good.
>> Happy to help you debug if you'd like. Great work, again.
>> Cheers, >> David Szego
>> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>>> Dear All,
>>> It seems quit a while already but if any one is still interested, I have >>> just released a TableEdit plugin that might do the job. You can visit my >>> TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler in >>> the Public section. Comments and suggestions are welcome.
>>> Best,
>>> Vincent
>>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>>> Good evening Eric,
>>>> I was just wondering if you had any idea of how soon in the future you >>>> planned on working on/releasing the EditableTablePlugin (see bottom of your >>>> post below) >>>> Please, do note take this as a personal request for more work from you >>>> on TW, as I can already hardly believe how much you contribute to it >>>> already... ;)
>>>> In fact, I was just wondering if this was a distant idea in your mind >>>> or something you were already working on today, to know if it was worth >>>> waiting (even a couple more months or 6 months, I don't care) before >>>> starting a new task on my side that is going to involve a very large (>100) >>>> number of tables. This task is not urgent (well, it has to be finished some >>>> day, in like 9 months), but it might spare me so much time once this >>>> miraculous plugin would be released that I could wait a long time before >>>> starting the task, if only I knew you were to publish it in a >>>> "not-further-than-6-months" delay.
>>>> Thanks again for your great work anyway
>>>> -Nicolas
>>>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>>>> > I'm looking for a plugin which allows to edit the content of a table >>>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor. >>>>> > Especially in big tables, it would be much more convenient to edit >>>>> > content that way. As far as I can remember I once stumbled upon a >>>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>>> *generates* a grid (table) that displays tiddler slice values and >>>>> includes an "edit-in-place" feature: click a value in a grid cell and >>>>> it changes to an edit field. Type your input. Press enter (or click >>>>> away). The value you input is then written back to the corresponding >>>>> tiddler slice.
>>>>> Note that, currently, this feature only works within SliceGridPlugin's >>>>> generated tables. However, I am working on a re-factoring my edit-in- >>>>> place code into a separate "EditableTablePlugin" so that it CAN be >>>>> used with ANY table.
>>>>> I let you know when it's available.
>>>>> -e >>>>> Eric Shulman >>>>> TiddlyTools / ELS Design Studios
>> To post to this group, send email to tiddlywiki@googlegroups.com. >> To unsubscribe from this group, send email to >> tiddlywiki+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/tiddlywiki?hl=en.
> -- > Wang-Chi Vincent Yeh, Assistant Professor > Department of Physics, National Dong Hwa University > Tel: 8633719 (O) 8633723 (Lab)
That plugin was more for adding up time and what not. I am trying to do this: Customer brings in system on 7/6/2012 and now it is 7/12/2012...I want the cell to show 6 days. Is that possible or is that to many calculations for tiddly wiki type plugins?
On Friday, July 6, 2012 10:51:23 AM UTC-5, Vincent Yeh wrote:
> My mistakes. I was testing on TableSortingPlugin ( > http://tw.lewcid.org/#TableSortingPlugin| by Saq Imtiaz) instead of > SortableGridPlugin. Either way there are some works to do.
> Vincent
> On Friday, July 6, 2012 11:05:56 PM UTC+8, Vincent Yeh wrote:
>> David,
>> There is a way to make both TableEdit and SortableGridPlugin work >> together: add both classes to the table - |editable sortable|k.
>> However, the SortableGridPlugin is sorting every thing, so when I pressed >> the header (to invoke the sorting function) with editing features enabled, >> everything got messed up! Worse yet, the Edit button got removed when I >> disabled the editing features. This seems not an easy problem to fix...
>> They work well if not invoked at the same time, though.
>>> ...where the |h invokes the sorting plugin, I simply get no edit button. >>> If I omit the h, all is good.
>>> Happy to help you debug if you'd like. Great work, again.
>>> Cheers, >>> David Szego
>>> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>>>> Dear All,
>>>> It seems quit a while already but if any one is still interested, I >>>> have just released a TableEdit plugin that might do the job. You can visit >>>> my TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler >>>> in the Public section. Comments and suggestions are welcome.
>>>> Best,
>>>> Vincent
>>>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>>>> Good evening Eric,
>>>>> I was just wondering if you had any idea of how soon in the future you >>>>> planned on working on/releasing the EditableTablePlugin (see bottom of your >>>>> post below) >>>>> Please, do note take this as a personal request for more work from you >>>>> on TW, as I can already hardly believe how much you contribute to it >>>>> already... ;)
>>>>> In fact, I was just wondering if this was a distant idea in your mind >>>>> or something you were already working on today, to know if it was worth >>>>> waiting (even a couple more months or 6 months, I don't care) before >>>>> starting a new task on my side that is going to involve a very large (>100) >>>>> number of tables. This task is not urgent (well, it has to be finished some >>>>> day, in like 9 months), but it might spare me so much time once this >>>>> miraculous plugin would be released that I could wait a long time before >>>>> starting the task, if only I knew you were to publish it in a >>>>> "not-further-than-6-months" delay.
>>>>> Thanks again for your great work anyway
>>>>> -Nicolas
>>>>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>>>>> > I'm looking for a plugin which allows to edit the content of a table >>>>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor. >>>>>> > Especially in big tables, it would be much more convenient to edit >>>>>> > content that way. As far as I can remember I once stumbled upon a >>>>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>>>> *generates* a grid (table) that displays tiddler slice values and >>>>>> includes an "edit-in-place" feature: click a value in a grid cell and >>>>>> it changes to an edit field. Type your input. Press enter (or click >>>>>> away). The value you input is then written back to the corresponding >>>>>> tiddler slice.
>>>>>> Note that, currently, this feature only works within SliceGridPlugin's >>>>>> generated tables. However, I am working on a re-factoring my >>>>>> edit-in- >>>>>> place code into a separate "EditableTablePlugin" so that it CAN be >>>>>> used with ANY table.
>>>>>> I let you know when it's available.
>>>>>> -e >>>>>> Eric Shulman >>>>>> TiddlyTools / ELS Design Studios
>>> To post to this group, send email to tiddlywiki@googlegroups.com. >>> To unsubscribe from this group, send email to >>> tiddlywiki+unsubscribe@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/tiddlywiki?hl=en.
>> -- >> Wang-Chi Vincent Yeh, Assistant Professor >> Department of Physics, National Dong Hwa University >> Tel: 8633719 (O) 8633723 (Lab)
I found a way to make them work together. You can download the newest version and give it a try. The reason and workaround are explained in the revisions section.
However, I also found a deeper issue between the sorting plugins and the TableEdit plugin: They are not consistent! The sorting plugins (SortableGridPlugin and TableSortingPlugin) work on a rendered DOM table, while thisTableEdit plugin works on its underlying wikitext. THERE WILL BE INCONSISTENCY AFTER SORTING! And I don't know how to fix that yet...
> ...where the |h invokes the sorting plugin, I simply get no edit button. > If I omit the h, all is good.
> Happy to help you debug if you'd like. Great work, again.
> Cheers, > David Szego
> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>> Dear All,
>> It seems quit a while already but if any one is still interested, I have >> just released a TableEdit plugin that might do the job. You can visit my >> TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler in >> the Public section. Comments and suggestions are welcome.
>> Best,
>> Vincent
>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>> Good evening Eric,
>>> I was just wondering if you had any idea of how soon in the future you >>> planned on working on/releasing the EditableTablePlugin (see bottom of your >>> post below) >>> Please, do note take this as a personal request for more work from you >>> on TW, as I can already hardly believe how much you contribute to it >>> already... ;)
>>> In fact, I was just wondering if this was a distant idea in your mind or >>> something you were already working on today, to know if it was worth >>> waiting (even a couple more months or 6 months, I don't care) before >>> starting a new task on my side that is going to involve a very large (>100) >>> number of tables. This task is not urgent (well, it has to be finished some >>> day, in like 9 months), but it might spare me so much time once this >>> miraculous plugin would be released that I could wait a long time before >>> starting the task, if only I knew you were to publish it in a >>> "not-further-than-6-months" delay.
>>> Thanks again for your great work anyway
>>> -Nicolas
>>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>>> > I'm looking for a plugin which allows to edit the content of a table >>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor. >>>> > Especially in big tables, it would be much more convenient to edit >>>> > content that way. As far as I can remember I once stumbled upon a >>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>> *generates* a grid (table) that displays tiddler slice values and >>>> includes an "edit-in-place" feature: click a value in a grid cell and >>>> it changes to an edit field. Type your input. Press enter (or click >>>> away). The value you input is then written back to the corresponding >>>> tiddler slice.
>>>> Note that, currently, this feature only works within SliceGridPlugin's >>>> generated tables. However, I am working on a re-factoring my edit-in- >>>> place code into a separate "EditableTablePlugin" so that it CAN be >>>> used with ANY table.
>>>> I let you know when it's available.
>>>> -e >>>> Eric Shulman >>>> TiddlyTools / ELS Design Studios
This is a kickass plugin that I'm looking forward to using.:D I was
wondering one thing, though, does it set some sort of flag or
something when in table edit mode? For example, I use a CSS class
(servedtable) to hide the first column. Now, I can assign both classes
(servedtable and editable) to the table, but I'd like to disable the
servedtable class when in table edit mode. I played around with the
code a little and found where I can insert a line to disable the
servedtable class, but the problem is, it doesn't reenable it after I
exit the table edit mode and I'm not sure where to insert a line that
would do that.
And ideas how to go about this?
w
On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> Do you mean my TableEdit--Example tiddler? I though I made it private!
> Well, I just removed the <<sum...>> macro and made it public, you can try
> it again.
> The <<sum...>> macro is defined in another TableCalculator plugin which is
> under development and not yet released.
> Vincent
> 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
> > Where is the <<sum...>> definition used in your example tiddler?
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TiddlyWiki" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> > To post to this group, send email to tiddlywiki@googlegroups.com.
> > To unsubscribe from this group, send email to
> > tiddlywiki+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/tiddlywiki?hl=en.
> --
> Wang-Chi Vincent Yeh, Assistant Professor
> Department of Physics, National Dong Hwa University
> Tel: 8633719 (O) 8633723 (Lab)
You can try to put that line of code in remove_edit_buttons(), which is the
function to disable the editing features. I planned to rename it to
stop_editing() or something like that in the next major release.
The function to enable editing features is currently
prepare_edit_buttons(), which shall be renamed as well to start_editing()
or something similar.
> This is a kickass plugin that I'm looking forward to using.:D I was
> wondering one thing, though, does it set some sort of flag or
> something when in table edit mode? For example, I use a CSS class
> (servedtable) to hide the first column. Now, I can assign both classes
> (servedtable and editable) to the table, but I'd like to disable the
> servedtable class when in table edit mode. I played around with the
> code a little and found where I can insert a line to disable the
> servedtable class, but the problem is, it doesn't reenable it after I
> exit the table edit mode and I'm not sure where to insert a line that
> would do that.
> And ideas how to go about this?
> w
> On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > Craig,
> > Do you mean my TableEdit--Example tiddler? I though I made it private!
> > Well, I just removed the <<sum...>> macro and made it public, you can try
> > it again.
> > The <<sum...>> macro is defined in another TableCalculator plugin which
> is
> > under development and not yet released.
> > Vincent
> > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
> > > Where is the <<sum...>> definition used in your example tiddler?
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "TiddlyWiki" group.
> > > To view this discussion on the web visit
> > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > tiddlywiki+unsubscribe@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/tiddlywiki?hl=en.
> > --
> > Wang-Chi Vincent Yeh, Assistant Professor
> > Department of Physics, National Dong Hwa University
> > Tel: 8633719 (O) 8633723 (Lab)
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> To unsubscribe from this group, send email to
> tiddlywiki+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/tiddlywiki?hl=en.
-- Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O) 8633723 (Lab)
Yes, I know which functions :), and I got it to disable my style, but
I couldn't get it to reenable it. I will take another look though.
Also, since you made the plugin work with the table sorting plugins,
could you maybe import both plugins to your space and set up an
example for each? Like TableEdit--Example, which is nicely showcasing
the functionalities.
w
On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> You can try to put that line of code in remove_edit_buttons(), which is the
> function to disable the editing features. I planned to rename it to
> stop_editing() or something like that in the next major release.
> The function to enable editing features is currently
> prepare_edit_buttons(), which shall be renamed as well to start_editing()
> or something similar.
> Enjoy!
> Vincent
> whatever 於 2012年7月10日星期二寫道:
> > Hi, Vincent,
> > This is a kickass plugin that I'm looking forward to using.:D I was
> > wondering one thing, though, does it set some sort of flag or
> > something when in table edit mode? For example, I use a CSS class
> > (servedtable) to hide the first column. Now, I can assign both classes
> > (servedtable and editable) to the table, but I'd like to disable the
> > servedtable class when in table edit mode. I played around with the
> > code a little and found where I can insert a line to disable the
> > servedtable class, but the problem is, it doesn't reenable it after I
> > exit the table edit mode and I'm not sure where to insert a line that
> > would do that.
> > And ideas how to go about this?
> > w
> > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > > Craig,
> > > Do you mean my TableEdit--Example tiddler? I though I made it private!
> > > Well, I just removed the <<sum...>> macro and made it public, you can try
> > > it again.
> > > The <<sum...>> macro is defined in another TableCalculator plugin which
> > is
> > > under development and not yet released.
> > > Vincent
> > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
> > > > Where is the <<sum...>> definition used in your example tiddler?
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "TiddlyWiki" group.
> > > > To view this discussion on the web visit
> > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> > > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > tiddlywiki+unsubscribe@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/tiddlywiki?hl=en.
> > > --
> > > Wang-Chi Vincent Yeh, Assistant Professor
> > > Department of Physics, National Dong Hwa University
> > > Tel: 8633719 (O) 8633723 (Lab)
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TiddlyWiki" group.
> > To post to this group, send email to tiddlywiki@googlegroups.com.
> > To unsubscribe from this group, send email to
> > tiddlywiki+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/tiddlywiki?hl=en.
> --
> Wang-Chi Vincent Yeh, Assistant Professor
> Department of Physics, National Dong Hwa University
> Tel: 8633719 (O) 8633723 (Lab)
I see, you are missing the table element to restore your servedtable class.
You need to go toggleEditMode() function, look for the following piece of
codes:
If ( tid ) {
var tables = getElementsByTagName("TABLE");
if ( tables )
remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
}
Then add your line to the if ( tables ) block as follows:
If ( tid ) {
var tables = getElementsByTagName("TABLE");
if ( tables ) {
remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
}
> Yes, I know which functions :), and I got it to disable my style, but
> I couldn't get it to reenable it. I will take another look though.
> Also, since you made the plugin work with the table sorting plugins,
> could you maybe import both plugins to your space and set up an
> example for each? Like TableEdit--Example, which is nicely showcasing
> the functionalities.
> w
> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > W,
> > You can try to put that line of code in remove_edit_buttons(), which is
> the
> > function to disable the editing features. I planned to rename it to
> > stop_editing() or something like that in the next major release.
> > The function to enable editing features is currently
> > prepare_edit_buttons(), which shall be renamed as well to start_editing()
> > or something similar.
> > Enjoy!
> > Vincent
> > whatever 於 2012年7月10日星期二寫道:
> > > Hi, Vincent,
> > > This is a kickass plugin that I'm looking forward to using.:D I was
> > > wondering one thing, though, does it set some sort of flag or
> > > something when in table edit mode? For example, I use a CSS class
> > > (servedtable) to hide the first column. Now, I can assign both classes
> > > (servedtable and editable) to the table, but I'd like to disable the
> > > servedtable class when in table edit mode. I played around with the
> > > code a little and found where I can insert a line to disable the
> > > servedtable class, but the problem is, it doesn't reenable it after I
> > > exit the table edit mode and I'm not sure where to insert a line that
> > > would do that.
> > > And ideas how to go about this?
> > > w
> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > > > Craig,
> > > > Do you mean my TableEdit--Example tiddler? I though I made it
> private!
> > > > Well, I just removed the <<sum...>> macro and made it public, you
> can try
> > > > it again.
> > > > The <<sum...>> macro is defined in another TableCalculator plugin
> which
> > > is
> > > > under development and not yet released.
> > > > Vincent
> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
> > > > > Where is the <<sum...>> definition used in your example tiddler?
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "TiddlyWiki" group.
> > > > > To view this discussion on the web visit
> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> > > > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > tiddlywiki+unsubscribe@googlegroups.com.
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
> > > > --
> > > > Wang-Chi Vincent Yeh, Assistant Professor
> > > > Department of Physics, National Dong Hwa University
> > > > Tel: 8633719 (O) 8633723 (Lab)
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "TiddlyWiki" group.
> > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > tiddlywiki+unsubscribe@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/tiddlywiki?hl=en.
> > --
> > Wang-Chi Vincent Yeh, Assistant Professor
> > Department of Physics, National Dong Hwa University
> > Tel: 8633719 (O) 8633723 (Lab)
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To post to th
-- Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O) 8633723 (Lab)
Typo in my last post. The piece of codes you are looking for, W, is
var tid = story.getTiddler( Story.prototype.tEditing_title );
if ( tid ) {
var tables = tid.getElementsByTagName("TABLE");
if ( tables ) {
remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
}
}
The red text above is probably what you are adding in.
On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
> W,
> I see, you are missing the table element to restore your servedtable > class. You need to go toggleEditMode() function, look for the following > piece of codes:
> If ( tid ) {
> var tables = getElementsByTagName("TABLE");
> if ( tables )
> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> }
> Then add your line to the if ( tables ) block as follows:
> If ( tid ) {
> var tables = getElementsByTagName("TABLE");
> if ( tables ) {
> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> }
> }
> I hope this solves your problem :-)
> V
> whatever 於 2012年7月10日星期二寫道:
>> Yes, I know which functions :), and I got it to disable my style, but
>> I couldn't get it to reenable it. I will take another look though.
>> Also, since you made the plugin work with the table sorting plugins,
>> could you maybe import both plugins to your space and set up an
>> example for each? Like TableEdit--Example, which is nicely showcasing
>> the functionalities.
>> w
>> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>> > W,
>> > You can try to put that line of code in remove_edit_buttons(), which is >> the
>> > function to disable the editing features. I planned to rename it to
>> > stop_editing() or something like that in the next major release.
>> > The function to enable editing features is currently
>> > prepare_edit_buttons(), which shall be renamed as well to >> start_editing()
>> > or something similar.
>> > Enjoy!
>> > Vincent
>> > whatever 於 2012年7月10日星期二寫道:
>> > > Hi, Vincent,
>> > > This is a kickass plugin that I'm looking forward to using.:D I was
>> > > wondering one thing, though, does it set some sort of flag or
>> > > something when in table edit mode? For example, I use a CSS class
>> > > (servedtable) to hide the first column. Now, I can assign both classes
>> > > (servedtable and editable) to the table, but I'd like to disable the
>> > > servedtable class when in table edit mode. I played around with the
>> > > code a little and found where I can insert a line to disable the
>> > > servedtable class, but the problem is, it doesn't reenable it after I
>> > > exit the table edit mode and I'm not sure where to insert a line that
>> > > would do that.
>> > > And ideas how to go about this?
>> > > w
>> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>> > > > Craig,
>> > > > Do you mean my TableEdit--Example tiddler? I though I made it >> private!
>> > > > Well, I just removed the <<sum...>> macro and made it public, you >> can try
>> > > > it again.
>> > > > The <<sum...>> macro is defined in another TableCalculator plugin >> which
>> > > is
>> > > > under development and not yet released.
>> > > > Vincent
>> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
>> > > > > Where is the <<sum...>> definition used in your example tiddler?
>> > > > > --
>> > > > > You received this message because you are subscribed to the Google
>> > > Groups
>> > > > > "TiddlyWiki" group.
>> > > > > To view this discussion on the web visit
>> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
>> > > > > To post to this group, send email to tiddlywiki@googlegroups.com.
>> > > > > To unsubscribe from this group, send email to
>> > > > > tiddlywiki+unsubscribe@googlegroups.com.
>> > > > > For more options, visit this group at
>> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
>> > > > --
>> > > > Wang-Chi Vincent Yeh, Assistant Professor
>> > > > Department of Physics, National Dong Hwa University
>> > > > Tel: 8633719 (O) 8633723 (Lab)
>> > > --
>> > > You received this message because you are subscribed to the Google >> Groups
>> > > "TiddlyWiki" group.
>> > > To post to this group, send email to tiddlywiki@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > > tiddlywiki+unsubscribe@googlegroups.com.
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/tiddlywiki?hl=en.
>> > --
>> > Wang-Chi Vincent Yeh, Assistant Professor
>> > Department of Physics, National Dong Hwa University
>> > Tel: 8633719 (O) 8633723 (Lab)
>> --
>> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group.
>> To post to th
> -- > Wang-Chi Vincent Yeh, Assistant Professor
> Department of Physics, National Dong Hwa University
> Tel: 8633719 (O) 8633723 (Lab)
> Typo in my last post. The piece of codes you are looking for, W, is
> var tid = story.getTiddler( Story.prototype.tEditing_title );
> if ( tid ) {
> var tables = tid.getElementsByTagName("TABLE");
> if ( tables ) {
> remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> }
> }
> The red text above is probably what you are adding in.
> V
> On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
> > W,
> > I see, you are missing the table element to restore your servedtable
> > class. You need to go toggleEditMode() function, look for the following
> > piece of codes:
> > If ( tid ) {
> > var tables = getElementsByTagName("TABLE");
> > if ( tables )
> > remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> > }
> > Then add your line to the if ( tables ) block as follows:
> > If ( tid ) {
> > var tables = getElementsByTagName("TABLE");
> > if ( tables ) {
> > remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> > addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> > }
> > }
> > I hope this solves your problem :-)
> > V
> > whatever 於 2012年7月10日星期二寫道:
> >> Yes, I know which functions :), and I got it to disable my style, but
> >> I couldn't get it to reenable it. I will take another look though.
> >> Also, since you made the plugin work with the table sorting plugins,
> >> could you maybe import both plugins to your space and set up an
> >> example for each? Like TableEdit--Example, which is nicely showcasing
> >> the functionalities.
> >> w
> >> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> >> > W,
> >> > You can try to put that line of code in remove_edit_buttons(), which is
> >> the
> >> > function to disable the editing features. I planned to rename it to
> >> > stop_editing() or something like that in the next major release.
> >> > The function to enable editing features is currently
> >> > prepare_edit_buttons(), which shall be renamed as well to
> >> start_editing()
> >> > or something similar.
> >> > Enjoy!
> >> > Vincent
> >> > whatever 於 2012年7月10日星期二寫道:
> >> > > Hi, Vincent,
> >> > > This is a kickass plugin that I'm looking forward to using.:D I was
> >> > > wondering one thing, though, does it set some sort of flag or
> >> > > something when in table edit mode? For example, I use a CSS class
> >> > > (servedtable) to hide the first column. Now, I can assign both classes
> >> > > (servedtable and editable) to the table, but I'd like to disable the
> >> > > servedtable class when in table edit mode. I played around with the
> >> > > code a little and found where I can insert a line to disable the
> >> > > servedtable class, but the problem is, it doesn't reenable it after I
> >> > > exit the table edit mode and I'm not sure where to insert a line that
> >> > > would do that.
> >> > > And ideas how to go about this?
> >> > > w
> >> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> >> > > > Craig,
> >> > > > Do you mean my TableEdit--Example tiddler? I though I made it
> >> private!
> >> > > > Well, I just removed the <<sum...>> macro and made it public, you
> >> can try
> >> > > > it again.
> >> > > > The <<sum...>> macro is defined in another TableCalculator plugin
> >> which
> >> > > is
> >> > > > under development and not yet released.
> >> > > > Vincent
> >> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
> >> > > > > Where is the <<sum...>> definition used in your example tiddler?
> >> > > > > --
> >> > > > > You received this message because you are subscribed to the Google
> >> > > Groups
> >> > > > > "TiddlyWiki" group.
> >> > > > > To view this discussion on the web visit
> >> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> >> > > > > To post to this group, send email to tiddlywiki@googlegroups.com.
> >> > > > > To unsubscribe from this group, send email to
> >> > > > > tiddlywiki+unsubscribe@googlegroups.com.
> >> > > > > For more options, visit this group at
> >> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
> >> > > > --
> >> > > > Wang-Chi Vincent Yeh, Assistant Professor
> >> > > > Department of Physics, National Dong Hwa University
> >> > > > Tel: 8633719 (O) 8633723 (Lab)
> >> > > --
> >> > > You received this message because you are subscribed to the Google
> >> Groups
> >> > > "TiddlyWiki" group.
> >> > > To post to this group, send email to tiddlywiki@googlegroups.com.
> >> > > To unsubscribe from this group, send email to
> >> > > tiddlywiki+unsubscribe@googlegroups.com.
> >> > > For more options, visit this group at
> >> > >http://groups.google.com/group/tiddlywiki?hl=en.
> >> > --
> >> > Wang-Chi Vincent Yeh, Assistant Professor
> >> > Department of Physics, National Dong Hwa University
> >> > Tel: 8633719 (O) 8633723 (Lab)
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "TiddlyWiki" group.
> >> To post to th
> > --
> > Wang-Chi Vincent Yeh, Assistant Professor
> > Department of Physics, National Dong Hwa University
> > Tel: 8633719 (O) 8633723 (Lab)
> And to hide it:
> // enable this table for editing
> Story.prototype.tEditing_title = tiddler.title;
> Story.prototype.tEditing_ndx = tIndex;
> setStylesheet(".servedtable td:first-child {display: table-cell;}",
> "servedtable");
> prepare_edit_buttons ( table );
> The strange thing is, that it works in Waterfox/Firefox, but not in
> Internet Explorer. I'll try other browsers when I get home.
> w
> On Jul 10, 5:01 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > Typo in my last post. The piece of codes you are looking for, W, is
> > var tid = story.getTiddler( Story.prototype.tEditing_title );
> > if ( tid ) {
> > var tables = tid.getElementsByTagName("TABLE");
> > if ( tables ) {
> > remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
> > addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> > }
> > }
> > The red text above is probably what you are adding in.
> > V
> > On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
> > > W,
> > > I see, you are missing the table element to restore your servedtable
> > > class. You need to go toggleEditMode() function, look for the following
> > > piece of codes:
> > > If ( tid ) {
> > > var tables = getElementsByTagName("TABLE");
> > > if ( tables )
> > > remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> > > }
> > > Then add your line to the if ( tables ) block as follows:
> > >> Yes, I know which functions :), and I got it to disable my style, but
> > >> I couldn't get it to reenable it. I will take another look though.
> > >> Also, since you made the plugin work with the table sorting plugins,
> > >> could you maybe import both plugins to your space and set up an
> > >> example for each? Like TableEdit--Example, which is nicely showcasing
> > >> the functionalities.
> > >> w
> > >> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > >> > W,
> > >> > You can try to put that line of code in remove_edit_buttons(), which is
> > >> the
> > >> > function to disable the editing features. I planned to rename it to
> > >> > stop_editing() or something like that in the next major release.
> > >> > The function to enable editing features is currently
> > >> > prepare_edit_buttons(), which shall be renamed as well to
> > >> start_editing()
> > >> > or something similar.
> > >> > Enjoy!
> > >> > Vincent
> > >> > whatever 於 2012年7月10日星期二寫道:
> > >> > > Hi, Vincent,
> > >> > > This is a kickass plugin that I'm looking forward to using.:D I was
> > >> > > wondering one thing, though, does it set some sort of flag or
> > >> > > something when in table edit mode? For example, I use a CSS class
> > >> > > (servedtable) to hide the first column. Now, I can assign both classes
> > >> > > (servedtable and editable) to the table, but I'd like to disable the
> > >> > > servedtable class when in table edit mode. I played around with the
> > >> > > code a little and found where I can insert a line to disable the
> > >> > > servedtable class, but the problem is, it doesn't reenable it after I
> > >> > > exit the table edit mode and I'm not sure where to insert a line that
> > >> > > would do that.
> > >> > > > Do you mean my TableEdit--Example tiddler? I though I made it
> > >> private!
> > >> > > > Well, I just removed the <<sum...>> macro and made it public, you
> > >> can try
> > >> > > > it again.
> > >> > > > The <<sum...>> macro is defined in another TableCalculator plugin
> > >> which
> > >> > > is
> > >> > > > under development and not yet released.
> > >> > > > > Where is the <<sum...>> definition used in your example tiddler?
> > >> > > > > --
> > >> > > > > You received this message because you are subscribed to the Google
> > >> > > Groups
> > >> > > > > "TiddlyWiki" group.
> > >> > > > > To view this discussion on the web visit
> > >> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> > >> > > > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > >> > > > > To unsubscribe from this group, send email to
> > >> > > > > tiddlywiki+unsubscribe@googlegroups.com.
> > >> > > > > For more options, visit this group at
> > >> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
> > >> > > > --
> > >> > > > Wang-Chi Vincent Yeh, Assistant Professor
> > >> > > > Department of Physics, National Dong Hwa University
> > >> > > > Tel: 8633719 (O) 8633723 (Lab)
> > >> > > --
> > >> > > You received this message because you are subscribed to the Google
> > >> Groups
> > >> > > "TiddlyWiki" group.
> > >> > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > >> > > To unsubscribe from this group, send email to
> > >> > > tiddlywiki+unsubscribe@googlegroups.com.
> > >> > > For more options, visit this group at
> > >> > >http://groups.google.com/group/tiddlywiki?hl=en.
> > >> > --
> > >> > Wang-Chi Vincent Yeh, Assistant Professor
> > >> > Department of Physics, National Dong Hwa University
> > >> > Tel: 8633719 (O) 8633723 (Lab)
> > >> --
> > >> You received this message because you are subscribed to the Google Groups
> > >> "TiddlyWiki" group.
> > >> To post to th
> > > --
> > > Wang-Chi Vincent Yeh, Assistant Professor
> > > Department of Physics, National Dong Hwa University
> > > Tel: 8633719 (O) 8633723 (Lab)
Ok, I also checked on Opera, Safari and Chrome and they display/hide
normally, only Internet Explorer doesn't hide again.
I then realized that Internet Explorer has an issue with:
setStylesheet(".YourClass {display: none;}", "YourClass");
The "display" works in Internet Explorer with "inherit", "block",
"inline", "table-cell" and others, but it seems to break on "none". I
have this same problem with a plugin I'm working on. It hides in other
browsers, but breaks in Internet Explorer, so I'm guessing it's a
TiddlyWiki internal problem, since setStylesheet is a TW function. I
checked Eric's ToggleTiddlerTags (1), which also uses this function
and it also breaks in IE. I use TW 2.6.5 in Windows 7. I'll repost as
a separate post.
> > And to hide it:
> > // enable this table for editing
> > Story.prototype.tEditing_title = tiddler.title;
> > Story.prototype.tEditing_ndx = tIndex;
> > setStylesheet(".servedtable td:first-child {display: table-cell;}",
> > "servedtable");
> > prepare_edit_buttons ( table );
> > The strange thing is, that it works in Waterfox/Firefox, but not in
> > Internet Explorer. I'll try other browsers when I get home.
> > w
> > On Jul 10, 5:01 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > > Typo in my last post. The piece of codes you are looking for, W, is
> > > var tid = story.getTiddler( Story.prototype.tEditing_title );
> > > if ( tid ) {
> > > var tables = tid.getElementsByTagName("TABLE");
> > > if ( tables ) {
> > > remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
> > > addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> > > }
> > > }
> > > The red text above is probably what you are adding in.
> > > V
> > > On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
> > > > W,
> > > > I see, you are missing the table element to restore your servedtable
> > > > class. You need to go toggleEditMode() function, look for the following
> > > > piece of codes:
> > > > If ( tid ) {
> > > > var tables = getElementsByTagName("TABLE");
> > > > if ( tables )
> > > > remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> > > > }
> > > > Then add your line to the if ( tables ) block as follows:
> > > >> Yes, I know which functions :), and I got it to disable my style, but
> > > >> I couldn't get it to reenable it. I will take another look though.
> > > >> Also, since you made the plugin work with the table sorting plugins,
> > > >> could you maybe import both plugins to your space and set up an
> > > >> example for each? Like TableEdit--Example, which is nicely showcasing
> > > >> the functionalities.
> > > >> w
> > > >> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> > > >> > W,
> > > >> > You can try to put that line of code in remove_edit_buttons(), which is
> > > >> the
> > > >> > function to disable the editing features. I planned to rename it to
> > > >> > stop_editing() or something like that in the next major release.
> > > >> > The function to enable editing features is currently
> > > >> > prepare_edit_buttons(), which shall be renamed as well to
> > > >> start_editing()
> > > >> > or something similar.
> > > >> > Enjoy!
> > > >> > Vincent
> > > >> > whatever 於 2012年7月10日星期二寫道:
> > > >> > > Hi, Vincent,
> > > >> > > This is a kickass plugin that I'm looking forward to using.:D I was
> > > >> > > wondering one thing, though, does it set some sort of flag or
> > > >> > > something when in table edit mode? For example, I use a CSS class
> > > >> > > (servedtable) to hide the first column. Now, I can assign both classes
> > > >> > > (servedtable and editable) to the table, but I'd like to disable the
> > > >> > > servedtable class when in table edit mode. I played around with the
> > > >> > > code a little and found where I can insert a line to disable the
> > > >> > > servedtable class, but the problem is, it doesn't reenable it after I
> > > >> > > exit the table edit mode and I'm not sure where to insert a line that
> > > >> > > would do that.
> > > >> > > > Do you mean my TableEdit--Example tiddler? I though I made it
> > > >> private!
> > > >> > > > Well, I just removed the <<sum...>> macro and made it public, you
> > > >> can try
> > > >> > > > it again.
> > > >> > > > The <<sum...>> macro is defined in another TableCalculator plugin
> > > >> which
> > > >> > > is
> > > >> > > > under development and not yet released.
> > > >> > > > > Where is the <<sum...>> definition used in your example tiddler?
> > > >> > > > > --
> > > >> > > > > You received this message because you are subscribed to the Google
> > > >> > > Groups
> > > >> > > > > "TiddlyWiki" group.
> > > >> > > > > To view this discussion on the web visit
> > > >> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> > > >> > > > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > > >> > > > > To unsubscribe from this group, send email to
> > > >> > > > > tiddlywiki+unsubscribe@googlegroups.com.
> > > >> > > > > For more options, visit this group at
> > > >> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
> > > >> > > > --
> > > >> > > > Wang-Chi Vincent Yeh, Assistant Professor
> > > >> > > > Department of Physics, National Dong Hwa University
> > > >> > > > Tel: 8633719 (O) 8633723 (Lab)
> > > >> > > --
> > > >> > > You received this message because you are subscribed to the Google
> > > >> Groups
> > > >> > > "TiddlyWiki" group.
> > > >> > > To post to this group, send email to tiddlywiki@googlegroups.com.
> > > >> > > To unsubscribe from this group, send email to
> > > >> > > tiddlywiki+unsubscribe@googlegroups.com.
> > > >> > > For more options, visit this group at
> > > >> > >http://groups.google.com/group/tiddlywiki?hl=en.
> > > >> > --
> > > >> > Wang-Chi Vincent Yeh, Assistant Professor
> > > >> > Department of Physics, National Dong Hwa University
> > > >> > Tel: 8633719 (O) 8633723 (Lab)
> > > >> --
> > > >> You received this message because you are subscribed to the Google Groups
> > > >> "TiddlyWiki" group.
> > > >> To post to th
> > > > --
> > > > Wang-Chi Vincent Yeh, Assistant Professor
> > > > Department of Physics, National Dong Hwa University
> > > > Tel: 8633719 (O) 8633723 (Lab)
Hey Vincent, I know you are being awesome and helping out this other guy. And I know I have asked a lot from you...but did you happen to find anyway of being able to take one table with date and time and have another table show how many days that is? So like if a customer brought in a computer on the 10th and today is the 12th, is there anyway for there to be a calcuation within the "excel" like spreadsheet that would show 2 days?
Thanks again, this is no longer a mission critical issue though so if there is no fix that is fine and I would love to help test anything new yall are developing.
On Tuesday, July 10, 2012 10:01:43 AM UTC-5, Vincent Yeh wrote:
> Typo in my last post. The piece of codes you are looking for, W, is
> var tid = story.getTiddler( Story.prototype.tEditing_title );
> if ( tid ) {
> var tables = tid.getElementsByTagName("TABLE");
> if ( tables ) {
> remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> }
> }
> The red text above is probably what you are adding in.
> V
> On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
>> W,
>> I see, you are missing the table element to restore your servedtable >> class. You need to go toggleEditMode() function, look for the following >> piece of codes:
>> If ( tid ) {
>> var tables = getElementsByTagName("TABLE");
>> if ( tables )
>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
>> }
>> Then add your line to the if ( tables ) block as follows:
>> If ( tid ) {
>> var tables = getElementsByTagName("TABLE");
>> if ( tables ) {
>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
>> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
>> }
>> }
>> I hope this solves your problem :-)
>> V
>> whatever 於 2012年7月10日星期二寫道:
>>> Yes, I know which functions :), and I got it to disable my style, but
>>> I couldn't get it to reenable it. I will take another look though.
>>> Also, since you made the plugin work with the table sorting plugins,
>>> could you maybe import both plugins to your space and set up an
>>> example for each? Like TableEdit--Example, which is nicely showcasing
>>> the functionalities.
>>> w
>>> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>>> > W,
>>> > You can try to put that line of code in remove_edit_buttons(), which >>> is the
>>> > function to disable the editing features. I planned to rename it to
>>> > stop_editing() or something like that in the next major release.
>>> > The function to enable editing features is currently
>>> > prepare_edit_buttons(), which shall be renamed as well to >>> start_editing()
>>> > or something similar.
>>> > Enjoy!
>>> > Vincent
>>> > whatever 於 2012年7月10日星期二寫道:
>>> > > Hi, Vincent,
>>> > > This is a kickass plugin that I'm looking forward to using.:D I was
>>> > > wondering one thing, though, does it set some sort of flag or
>>> > > something when in table edit mode? For example, I use a CSS class
>>> > > (servedtable) to hide the first column. Now, I can assign both >>> classes
>>> > > (servedtable and editable) to the table, but I'd like to disable the
>>> > > servedtable class when in table edit mode. I played around with the
>>> > > code a little and found where I can insert a line to disable the
>>> > > servedtable class, but the problem is, it doesn't reenable it after I
>>> > > exit the table edit mode and I'm not sure where to insert a line that
>>> > > would do that.
>>> > > And ideas how to go about this?
>>> > > w
>>> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>>> > > > Craig,
>>> > > > Do you mean my TableEdit--Example tiddler? I though I made it >>> private!
>>> > > > Well, I just removed the <<sum...>> macro and made it public, you >>> can try
>>> > > > it again.
>>> > > > The <<sum...>> macro is defined in another TableCalculator plugin >>> which
>>> > > is
>>> > > > under development and not yet released.
>>> > > > Vincent
>>> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
>>> > > > > Where is the <<sum...>> definition used in your example tiddler?
>>> > > > > --
>>> > > > > You received this message because you are subscribed to the >>> Google
>>> > > Groups
>>> > > > > "TiddlyWiki" group.
>>> > > > > To view this discussion on the web visit
>>> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
>>> > > > > To post to this group, send email to tiddlywiki@googlegroups.com
>>> .
>>> > > > > To unsubscribe from this group, send email to
>>> > > > > tiddlywiki+unsubscribe@googlegroups.com.
>>> > > > > For more options, visit this group at
>>> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
>>> > > > --
>>> > > > Wang-Chi Vincent Yeh, Assistant Professor
>>> > > > Department of Physics, National Dong Hwa University
>>> > > > Tel: 8633719 (O) 8633723 (Lab)
>>> > > --
>>> > > You received this message because you are subscribed to the Google >>> Groups
>>> > > "TiddlyWiki" group.
>>> > > To post to this group, send email to tiddlywiki@googlegroups.com.
>>> > > To unsubscribe from this group, send email to
>>> > > tiddlywiki+unsubscribe@googlegroups.com.
>>> > > For more options, visit this group at
>>> > >http://groups.google.com/group/tiddlywiki?hl=en.
>>> > --
>>> > Wang-Chi Vincent Yeh, Assistant Professor
>>> > Department of Physics, National Dong Hwa University
>>> > Tel: 8633719 (O) 8633723 (Lab)
>>> --
>>> You received this message because you are subscribed to the Google >>> Groups "TiddlyWiki" group.
>>> To post to th
>> -- >> Wang-Chi Vincent Yeh, Assistant Professor
>> Department of Physics, National Dong Hwa University
>> Tel: 8633719 (O) 8633723 (Lab)
The TableEdit plugin now works with SortableGridPlugin and TableSortingPlguin. It reorders the underlying wikitext in accordance with the sorted result, there is no inconsistency any more. You can download the latest version and see.
For download: Go to qmowcy2.tiddlyspace.com, find the TableEdit tiddler in the public section. For those who are not familiar with the two sorting plugins, there are two example tiddlers in my tiddlyspace for reference.
On Tuesday, July 10, 2012 11:42:42 AM UTC+8, Vincent Yeh wrote:
> David,
> I found a way to make them work together. You can download the newest > version and give it a try. The reason and workaround are explained in the > revisions section.
> However, I also found a deeper issue between the sorting plugins and the > TableEdit plugin: They are not consistent! > The sorting plugins (SortableGridPlugin and TableSortingPlugin) work on a > rendered DOM table, while thisTableEdit plugin works on its underlying > wikitext. THERE WILL BE INCONSISTENCY AFTER SORTING! And I don't know how > to fix that yet...
> Vincent
> On Friday, July 6, 2012 9:59:34 PM UTC+8, David Szego wrote:
>> Fantastic work - this is really useful to me, thank you.
>> ...where the |h invokes the sorting plugin, I simply get no edit button. >> If I omit the h, all is good.
>> Happy to help you debug if you'd like. Great work, again.
>> Cheers, >> David Szego
>> On Sunday, 24 June 2012 13:28:04 UTC-4, Vincent Yeh wrote:
>>> Dear All,
>>> It seems quit a while already but if any one is still interested, I have >>> just released a TableEdit plugin that might do the job. You can visit my >>> TiddlySpace at qmowcy2.tiddlyspace.com, find the TableEdit tiddler in >>> the Public section. Comments and suggestions are welcome.
>>> Best,
>>> Vincent
>>> On Wednesday, January 16, 2008 3:41:04 AM UTC+8, Nicolas S. wrote:
>>>> Good evening Eric,
>>>> I was just wondering if you had any idea of how soon in the future you >>>> planned on working on/releasing the EditableTablePlugin (see bottom of your >>>> post below) >>>> Please, do note take this as a personal request for more work from you >>>> on TW, as I can already hardly believe how much you contribute to it >>>> already... ;)
>>>> In fact, I was just wondering if this was a distant idea in your mind >>>> or something you were already working on today, to know if it was worth >>>> waiting (even a couple more months or 6 months, I don't care) before >>>> starting a new task on my side that is going to involve a very large (>100) >>>> number of tables. This task is not urgent (well, it has to be finished some >>>> day, in like 9 months), but it might spare me so much time once this >>>> miraculous plugin would be released that I could wait a long time before >>>> starting the task, if only I knew you were to publish it in a >>>> "not-further-than-6-months" delay.
>>>> Thanks again for your great work anyway
>>>> -Nicolas
>>>> On Dec 26, 2007 11:55 PM, Eric Shulman <elsdes...@gmail.com> wrote:
>>>>> > I'm looking for a plugin which allows to edit the content of a table >>>>> > cell in a tiddlywiki simply by clicking it with your mouse cursor. >>>>> > Especially in big tables, it would be much more convenient to edit >>>>> > content that way. As far as I can remember I once stumbled upon a >>>>> > tiddylwiki with exact that feature, yet I can't find it any more.
>>>>> *generates* a grid (table) that displays tiddler slice values and >>>>> includes an "edit-in-place" feature: click a value in a grid cell and >>>>> it changes to an edit field. Type your input. Press enter (or click >>>>> away). The value you input is then written back to the corresponding >>>>> tiddler slice.
>>>>> Note that, currently, this feature only works within SliceGridPlugin's >>>>> generated tables. However, I am working on a re-factoring my edit-in- >>>>> place code into a separate "EditableTablePlugin" so that it CAN be >>>>> used with ANY table.
>>>>> I let you know when it's available.
>>>>> -e >>>>> Eric Shulman >>>>> TiddlyTools / ELS Design Studios
Do you mean to take info from one table to do calculations and show the results in another? No, such cross table calculations are not planned in my TableCalculator plugin. It will only do calculations on information within the same table, at least for the first few releases.
It will support time and date calculations for sure, things like what you mentioned should be possible. I will let you know when something is ready for testing. Thanks for your offer.
On Thursday, July 12, 2012 11:39:55 PM UTC+8, anthony wrote:
> Hey Vincent, I know you are being awesome and helping out this other guy. > And I know I have asked a lot from you...but did you happen to find anyway > of being able to take one table with date and time and have another table > show how many days that is? So like if a customer brought in a computer on > the 10th and today is the 12th, is there anyway for there to be a > calcuation within the "excel" like spreadsheet that would show 2 days?
> Thanks again, this is no longer a mission critical issue though so if > there is no fix that is fine and I would love to help test anything new > yall are developing.
> On Tuesday, July 10, 2012 10:01:43 AM UTC-5, Vincent Yeh wrote:
>> Typo in my last post. The piece of codes you are looking for, W, is
>> var tid = story.getTiddler( Story.prototype.tEditing_title );
>> if ( tid ) {
>> var tables = tid.getElementsByTagName("TABLE");
>> if ( tables ) {
>> remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
>> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
>> }
>> }
>> The red text above is probably what you are adding in.
>> V
>> On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
>>> W,
>>> I see, you are missing the table element to restore your servedtable >>> class. You need to go toggleEditMode() function, look for the following >>> piece of codes:
>>> If ( tid ) {
>>> var tables = getElementsByTagName("TABLE");
>>> if ( tables )
>>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
>>> }
>>> Then add your line to the if ( tables ) block as follows:
>>> If ( tid ) {
>>> var tables = getElementsByTagName("TABLE");
>>> if ( tables ) {
>>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
>>> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
>>> }
>>> }
>>> I hope this solves your problem :-)
>>> V
>>> whatever 於 2012年7月10日星期二寫道:
>>>> Yes, I know which functions :), and I got it to disable my style, but
>>>> I couldn't get it to reenable it. I will take another look though.
>>>> Also, since you made the plugin work with the table sorting plugins,
>>>> could you maybe import both plugins to your space and set up an
>>>> example for each? Like TableEdit--Example, which is nicely showcasing
>>>> the functionalities.
>>>> w
>>>> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>>>> > W,
>>>> > You can try to put that line of code in remove_edit_buttons(), which >>>> is the
>>>> > function to disable the editing features. I planned to rename it to
>>>> > stop_editing() or something like that in the next major release.
>>>> > The function to enable editing features is currently
>>>> > prepare_edit_buttons(), which shall be renamed as well to >>>> start_editing()
>>>> > or something similar.
>>>> > Enjoy!
>>>> > Vincent
>>>> > whatever 於 2012年7月10日星期二寫道:
>>>> > > Hi, Vincent,
>>>> > > This is a kickass plugin that I'm looking forward to using.:D I was
>>>> > > wondering one thing, though, does it set some sort of flag or
>>>> > > something when in table edit mode? For example, I use a CSS class
>>>> > > (servedtable) to hide the first column. Now, I can assign both >>>> classes
>>>> > > (servedtable and editable) to the table, but I'd like to disable the
>>>> > > servedtable class when in table edit mode. I played around with the
>>>> > > code a little and found where I can insert a line to disable the
>>>> > > servedtable class, but the problem is, it doesn't reenable it after >>>> I
>>>> > > exit the table edit mode and I'm not sure where to insert a line >>>> that
>>>> > > would do that.
>>>> > > And ideas how to go about this?
>>>> > > w
>>>> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>>>> > > > Craig,
>>>> > > > Do you mean my TableEdit--Example tiddler? I though I made it >>>> private!
>>>> > > > Well, I just removed the <<sum...>> macro and made it public, you >>>> can try
>>>> > > > it again.
>>>> > > > The <<sum...>> macro is defined in another TableCalculator plugin >>>> which
>>>> > > is
>>>> > > > under development and not yet released.
>>>> > > > Vincent
>>>> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
>>>> > > > > Where is the <<sum...>> definition used in your example tiddler?
>>>> > > > > --
>>>> > > > > You received this message because you are subscribed to the >>>> Google
>>>> > > Groups
>>>> > > > > "TiddlyWiki" group.
>>>> > > > > To view this discussion on the web visit
>>>> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
>>>> > > > > To post to this group, send email to >>>> tiddlywiki@googlegroups.com.
>>>> > > > > To unsubscribe from this group, send email to
>>>> > > > > tiddlywiki+unsubscribe@googlegroups.com.
>>>> > > > > For more options, visit this group at
>>>> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
>>>> > > > --
>>>> > > > Wang-Chi Vincent Yeh, Assistant Professor
>>>> > > > Department of Physics, National Dong Hwa University
>>>> > > > Tel: 8633719 (O) 8633723 (Lab)
>>>> > > --
>>>> > > You received this message because you are subscribed to the Google >>>> Groups
>>>> > > "TiddlyWiki" group.
>>>> > > To post to this group, send email to tiddlywiki@googlegroups.com.
>>>> > > To unsubscribe from this group, send email to
>>>> > > tiddlywiki+unsubscribe@googlegroups.com.
>>>> > > For more options, visit this group at
>>>> > >http://groups.google.com/group/tiddlywiki?hl=en.
>>>> > --
>>>> > Wang-Chi Vincent Yeh, Assistant Professor
>>>> > Department of Physics, National Dong Hwa University
>>>> > Tel: 8633719 (O) 8633723 (Lab)
>>>> --
>>>> You received this message because you are subscribed to the Google >>>> Groups "TiddlyWiki" group.
>>>> To post to th
>>> -- >>> Wang-Chi Vincent Yeh, Assistant Professor
>>> Department of Physics, National Dong Hwa University
>>> Tel: 8633719 (O) 8633723 (Lab)
Hi, Vincent and Anthony,
Speaking of using results from one table in another, perhaps
FatSlicePlugin (1) can help you there. Just copy the content of
the .js file into a tiddler and tag the tiddler systemConfig.
> Do you mean to take info from one table to do calculations and show the
> results in another? No, such cross table calculations are not planned in my
> TableCalculator plugin. It will only do calculations on information within
> the same table, at least for the first few releases.
> It will support time and date calculations for sure, things like what you
> mentioned should be possible. I will let you know when something is ready
> for testing. Thanks for your offer.
> Vincent
> On Thursday, July 12, 2012 11:39:55 PM UTC+8, anthony wrote:
> > Hey Vincent, I know you are being awesome and helping out this other guy.
> > And I know I have asked a lot from you...but did you happen to find anyway
> > of being able to take one table with date and time and have another table
> > show how many days that is? So like if a customer brought in a computer on
> > the 10th and today is the 12th, is there anyway for there to be a
> > calcuation within the "excel" like spreadsheet that would show 2 days?
> > Thanks again, this is no longer a mission critical issue though so if
> > there is no fix that is fine and I would love to help test anything new
> > yall are developing.
> > On Tuesday, July 10, 2012 10:01:43 AM UTC-5, Vincent Yeh wrote:
> >> Typo in my last post. The piece of codes you are looking for, W, is
> >> var tid = story.getTiddler( Story.prototype.tEditing_title );
> >> if ( tid ) {
> >> var tables = tid.getElementsByTagName("TABLE");
> >> if ( tables ) {
> >> remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
> >> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> >> }
> >> }
> >> The red text above is probably what you are adding in.
> >> V
> >> On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
> >>> W,
> >>> I see, you are missing the table element to restore your servedtable
> >>> class. You need to go toggleEditMode() function, look for the following
> >>> piece of codes:
> >>> If ( tid ) {
> >>> var tables = getElementsByTagName("TABLE");
> >>> if ( tables )
> >>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> >>> }
> >>> Then add your line to the if ( tables ) block as follows:
> >>> If ( tid ) {
> >>> var tables = getElementsByTagName("TABLE");
> >>> if ( tables ) {
> >>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
> >>> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
> >>> }
> >>> }
> >>> I hope this solves your problem :-)
> >>> V
> >>> whatever 於 2012年7月10日星期二寫道:
> >>>> Yes, I know which functions :), and I got it to disable my style, but
> >>>> I couldn't get it to reenable it. I will take another look though.
> >>>> Also, since you made the plugin work with the table sorting plugins,
> >>>> could you maybe import both plugins to your space and set up an
> >>>> example for each? Like TableEdit--Example, which is nicely showcasing
> >>>> the functionalities.
> >>>> w
> >>>> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> >>>> > W,
> >>>> > You can try to put that line of code in remove_edit_buttons(), which
> >>>> is the
> >>>> > function to disable the editing features. I planned to rename it to
> >>>> > stop_editing() or something like that in the next major release.
> >>>> > The function to enable editing features is currently
> >>>> > prepare_edit_buttons(), which shall be renamed as well to
> >>>> start_editing()
> >>>> > or something similar.
> >>>> > Enjoy!
> >>>> > Vincent
> >>>> > whatever 於 2012年7月10日星期二寫道:
> >>>> > > Hi, Vincent,
> >>>> > > This is a kickass plugin that I'm looking forward to using.:D I was
> >>>> > > wondering one thing, though, does it set some sort of flag or
> >>>> > > something when in table edit mode? For example, I use a CSS class
> >>>> > > (servedtable) to hide the first column. Now, I can assign both
> >>>> classes
> >>>> > > (servedtable and editable) to the table, but I'd like to disable the
> >>>> > > servedtable class when in table edit mode. I played around with the
> >>>> > > code a little and found where I can insert a line to disable the
> >>>> > > servedtable class, but the problem is, it doesn't reenable it after
> >>>> I
> >>>> > > exit the table edit mode and I'm not sure where to insert a line
> >>>> that
> >>>> > > would do that.
> >>>> > > And ideas how to go about this?
> >>>> > > w
> >>>> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
> >>>> > > > Craig,
> >>>> > > > Do you mean my TableEdit--Example tiddler? I though I made it
> >>>> private!
> >>>> > > > Well, I just removed the <<sum...>> macro and made it public, you
> >>>> can try
> >>>> > > > it again.
> >>>> > > > The <<sum...>> macro is defined in another TableCalculator plugin
> >>>> which
> >>>> > > is
> >>>> > > > under development and not yet released.
> >>>> > > > Vincent
> >>>> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
> >>>> > > > > Where is the <<sum...>> definition used in your example tiddler?
> >>>> > > > > --
> >>>> > > > > You received this message because you are subscribed to the
> >>>> Google
> >>>> > > Groups
> >>>> > > > > "TiddlyWiki" group.
> >>>> > > > > To view this discussion on the web visit
> >>>> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
> >>>> > > > > To post to this group, send email to
> >>>> tiddlywiki@googlegroups.com.
> >>>> > > > > To unsubscribe from this group, send email to
> >>>> > > > > tiddlywiki+unsubscribe@googlegroups.com.
> >>>> > > > > For more options, visit this group at
> >>>> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
> >>>> > > > --
> >>>> > > > Wang-Chi Vincent Yeh, Assistant Professor
> >>>> > > > Department of Physics, National Dong Hwa University
> >>>> > > > Tel: 8633719 (O) 8633723 (Lab)
> >>>> > > --
> >>>> > > You received this message because you are subscribed to the Google
> >>>> Groups
> >>>> > > "TiddlyWiki" group.
> >>>> > > To post to this group, send email to tiddlywiki@googlegroups.com.
> >>>> > > To unsubscribe from this group, send email to
> >>>> > > tiddlywiki+unsubscribe@googlegroups.com.
> >>>> > > For more options, visit this group at
> >>>> > >http://groups.google.com/group/tiddlywiki?hl=en.
> >>>> > --
> >>>> > Wang-Chi Vincent Yeh, Assistant Professor
> >>>> > Department of Physics, National Dong Hwa University
> >>>> > Tel: 8633719 (O) 8633723 (Lab)
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "TiddlyWiki" group.
> >>>> To post to th
> >>> --
> >>> Wang-Chi Vincent Yeh, Assistant Professor
> >>> Department of Physics, National Dong Hwa University
> >>> Tel: 8633719 (O) 8633723 (Lab)
On Friday, July 13, 2012 1:22:04 AM UTC+8, whatever wrote:
> Hi, Vincent and Anthony, > Speaking of using results from one table in another, perhaps > FatSlicePlugin (1) can help you there. Just copy the content of > the .js file into a tiddler and tag the tiddler systemConfig.
> On 12 jul., 18:34, Vincent Yeh <qmo.w...@gmail.com> wrote: > > anthony,
> > Do you mean to take info from one table to do calculations and show the > > results in another? No, such cross table calculations are not planned in > my > > TableCalculator plugin. It will only do calculations on information > within > > the same table, at least for the first few releases.
> > It will support time and date calculations for sure, things like what > you > > mentioned should be possible. I will let you know when something is > ready > > for testing. Thanks for your offer.
> > Vincent
> > On Thursday, July 12, 2012 11:39:55 PM UTC+8, anthony wrote:
> > > Hey Vincent, I know you are being awesome and helping out this other > guy. > > > And I know I have asked a lot from you...but did you happen to find > anyway > > > of being able to take one table with date and time and have another > table > > > show how many days that is? So like if a customer brought in a > computer on > > > the 10th and today is the 12th, is there anyway for there to be a > > > calcuation within the "excel" like spreadsheet that would show 2 days?
> > > Thanks again, this is no longer a mission critical issue though so if > > > there is no fix that is fine and I would love to help test anything > new > > > yall are developing.
> > > On Tuesday, July 10, 2012 10:01:43 AM UTC-5, Vincent Yeh wrote:
> > >> Typo in my last post. The piece of codes you are looking for, W, is
> > >> var tid = story.getTiddler( Story.prototype.tEditing_title ); > > >> if ( tid ) { > > >> var tables = tid.getElementsByTagName("TABLE"); > > >> if ( tables ) { > > >> remove_edit_buttons(tables[Story.prototype.tEditing_ndx]); > > >> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' ); > > >> } > > >> }
> > >> The red text above is probably what you are adding in.
> > >> V
> > >> On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
> > >>> W,
> > >>> I see, you are missing the table element to restore your servedtable > > >>> class. You need to go toggleEditMode() function, look for the > following > > >>> piece of codes:
> > >>> If ( tid ) { > > >>> var tables = getElementsByTagName("TABLE"); > > >>> if ( tables ) > > >>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] > ); > > >>> }
> > >>> Then add your line to the if ( tables ) block as follows:
> > >>>> Yes, I know which functions :), and I got it to disable my style, > but > > >>>> I couldn't get it to reenable it. I will take another look though. > > >>>> Also, since you made the plugin work with the table sorting > plugins, > > >>>> could you maybe import both plugins to your space and set up an > > >>>> example for each? Like TableEdit--Example, which is nicely > showcasing > > >>>> the functionalities. > > >>>> w
> > >>>> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote: > > >>>> > W,
> > >>>> > You can try to put that line of code in remove_edit_buttons(), > which > > >>>> is the > > >>>> > function to disable the editing features. I planned to rename it > to > > >>>> > stop_editing() or something like that in the next major release.
> > >>>> > The function to enable editing features is currently > > >>>> > prepare_edit_buttons(), which shall be renamed as well to > > >>>> start_editing() > > >>>> > or something similar.
> > >>>> > Enjoy!
> > >>>> > Vincent
> > >>>> > whatever 於 2012年7月10日星期二寫道:
> > >>>> > > Hi, Vincent,
> > >>>> > > This is a kickass plugin that I'm looking forward to using.:D I > was > > >>>> > > wondering one thing, though, does it set some sort of flag or > > >>>> > > something when in table edit mode? For example, I use a CSS > class > > >>>> > > (servedtable) to hide the first column. Now, I can assign both > > >>>> classes > > >>>> > > (servedtable and editable) to the table, but I'd like to > disable the > > >>>> > > servedtable class when in table edit mode. I played around with > the > > >>>> > > code a little and found where I can insert a line to disable > the > > >>>> > > servedtable class, but the problem is, it doesn't reenable it > after > > >>>> I > > >>>> > > exit the table edit mode and I'm not sure where to insert a > line > > >>>> that > > >>>> > > would do that.
> > >>>> > > > Do you mean my TableEdit--Example tiddler? I though I made it > > >>>> private! > > >>>> > > > Well, I just removed the <<sum...>> macro and made it public, > you > > >>>> can try > > >>>> > > > it again.
> > >>>> > > > The <<sum...>> macro is defined in another TableCalculator > plugin > > >>>> which > > >>>> > > is > > >>>> > > > under development and not yet released.
> > >>>> > > > > Where is the <<sum...>> definition used in your example > tiddler?
> > >>>> > > > > -- > > >>>> > > > > You received this message because you are subscribed to the > > >>>> Google > > >>>> > > Groups > > >>>> > > > > "TiddlyWiki" group. > > >>>> > > > > To view this discussion on the web visit > > >>>> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ. > > >>>> > > > > To post to this group, send email to > > >>>> tiddlywiki@googlegroups.com. > > >>>> > > > > To unsubscribe from this group, send email to > > >>>> > > > > tiddlywiki+unsubscribe@googlegroups.com. > > >>>> > > > > For more options, visit this group at > > >>>> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
> > >>>> > > > -- > > >>>> > > > Wang-Chi Vincent Yeh, Assistant Professor > > >>>> > > > Department of Physics, National Dong Hwa University > > >>>> > > > Tel: 8633719 (O) 8633723 (Lab)
> > >>>> > > -- > > >>>> > > You received this message because you are subscribed to the > Google > > >>>> Groups > > >>>> > > "TiddlyWiki" group. > > >>>> > > To post to this group, send email to > tiddlywiki@googlegroups.com. > > >>>> > > To unsubscribe from this group, send email to > > >>>> > > tiddlywiki+unsubscribe@googlegroups.com. > > >>>> > > For more options, visit this group at > > >>>> > >http://groups.google.com/group/tiddlywiki?hl=en.
> > >>>> > -- > > >>>> > Wang-Chi Vincent Yeh, Assistant Professor > > >>>> > Department of Physics, National Dong Hwa University > > >>>> > Tel: 8633719 (O) 8633723 (Lab)
> > >>>> -- > > >>>> You received this message because you are subscribed to the Google > > >>>> Groups "TiddlyWiki" group. > > >>>> To post to th
> > >>> -- > > >>> Wang-Chi Vincent Yeh, Assistant Professor > > >>> Department of Physics, National Dong Hwa University > > >>> Tel: 8633719 (O) 8633723 (Lab)
Well that would be great too! I am all for changing up the implementation. Essentially what we are trying to accomplish is if a customer brought in a system 3 days ago and is still in intake and has not been diagnosed we want to be able to see that with ease. Instead of trying to go okay today is the 15th and they dropped it off on the 12th..how many days? We can just see 3 days or what have you. I would not mind that being in the same cell just I don't know how that would implement very well. I guess do you have an example I could toy with?
On Thursday, July 12, 2012 11:34:49 AM UTC-5, Vincent Yeh wrote:
> anthony,
> Do you mean to take info from one table to do calculations and show the > results in another? No, such cross table calculations are not planned in my > TableCalculator plugin. It will only do calculations on information within > the same table, at least for the first few releases.
> It will support time and date calculations for sure, things like what you > mentioned should be possible. I will let you know when something is ready > for testing. Thanks for your offer.
> Vincent
> On Thursday, July 12, 2012 11:39:55 PM UTC+8, anthony wrote:
>> Hey Vincent, I know you are being awesome and helping out this other guy. >> And I know I have asked a lot from you...but did you happen to find anyway >> of being able to take one table with date and time and have another table >> show how many days that is? So like if a customer brought in a computer on >> the 10th and today is the 12th, is there anyway for there to be a >> calcuation within the "excel" like spreadsheet that would show 2 days?
>> Thanks again, this is no longer a mission critical issue though so if >> there is no fix that is fine and I would love to help test anything new >> yall are developing.
>> On Tuesday, July 10, 2012 10:01:43 AM UTC-5, Vincent Yeh wrote:
>>> Typo in my last post. The piece of codes you are looking for, W, is
>>> var tid = story.getTiddler( Story.prototype.tEditing_title );
>>> if ( tid ) {
>>> var tables = tid.getElementsByTagName("TABLE");
>>> if ( tables ) {
>>> remove_edit_buttons(tables[Story.prototype.tEditing_ndx]);
>>> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' );
>>> }
>>> }
>>> The red text above is probably what you are adding in.
>>> V
>>> On Tuesday, July 10, 2012 9:49:38 PM UTC+8, Vincent Yeh wrote:
>>>> W,
>>>> I see, you are missing the table element to restore your servedtable >>>> class. You need to go toggleEditMode() function, look for the following >>>> piece of codes:
>>>> If ( tid ) {
>>>> var tables = getElementsByTagName("TABLE");
>>>> if ( tables )
>>>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
>>>> }
>>>> Then add your line to the if ( tables ) block as follows:
>>>> If ( tid ) {
>>>> var tables = getElementsByTagName("TABLE");
>>>> if ( tables ) {
>>>> remove_edit_buttons ( tables[Story.prototype.tEditing_ndx] );
>>>> addClass ( tables[Story.prototype.tEditing_ndx], 'servedtable' >>>> );
>>>> }
>>>> }
>>>> I hope this solves your problem :-)
>>>> V
>>>> whatever 於 2012年7月10日星期二寫道:
>>>>> Yes, I know which functions :), and I got it to disable my style, but
>>>>> I couldn't get it to reenable it. I will take another look though.
>>>>> Also, since you made the plugin work with the table sorting plugins,
>>>>> could you maybe import both plugins to your space and set up an
>>>>> example for each? Like TableEdit--Example, which is nicely showcasing
>>>>> the functionalities.
>>>>> w
>>>>> On Jul 10, 12:54 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>>>>> > W,
>>>>> > You can try to put that line of code in remove_edit_buttons(), which >>>>> is the
>>>>> > function to disable the editing features. I planned to rename it to
>>>>> > stop_editing() or something like that in the next major release.
>>>>> > The function to enable editing features is currently
>>>>> > prepare_edit_buttons(), which shall be renamed as well to >>>>> start_editing()
>>>>> > or something similar.
>>>>> > Enjoy!
>>>>> > Vincent
>>>>> > whatever 於 2012年7月10日星期二寫道:
>>>>> > > Hi, Vincent,
>>>>> > > This is a kickass plugin that I'm looking forward to using.:D I was
>>>>> > > wondering one thing, though, does it set some sort of flag or
>>>>> > > something when in table edit mode? For example, I use a CSS class
>>>>> > > (servedtable) to hide the first column. Now, I can assign both >>>>> classes
>>>>> > > (servedtable and editable) to the table, but I'd like to disable >>>>> the
>>>>> > > servedtable class when in table edit mode. I played around with the
>>>>> > > code a little and found where I can insert a line to disable the
>>>>> > > servedtable class, but the problem is, it doesn't reenable it >>>>> after I
>>>>> > > exit the table edit mode and I'm not sure where to insert a line >>>>> that
>>>>> > > would do that.
>>>>> > > And ideas how to go about this?
>>>>> > > w
>>>>> > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote:
>>>>> > > > Craig,
>>>>> > > > Do you mean my TableEdit--Example tiddler? I though I made it >>>>> private!
>>>>> > > > Well, I just removed the <<sum...>> macro and made it public, >>>>> you can try
>>>>> > > > it again.
>>>>> > > > The <<sum...>> macro is defined in another TableCalculator >>>>> plugin which
>>>>> > > is
>>>>> > > > under development and not yet released.
>>>>> > > > Vincent
>>>>> > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com>
>>>>> > > > > Where is the <<sum...>> definition used in your example >>>>> tiddler?
>>>>> > > > > --
>>>>> > > > > You received this message because you are subscribed to the >>>>> Google
>>>>> > > Groups
>>>>> > > > > "TiddlyWiki" group.
>>>>> > > > > To view this discussion on the web visit
>>>>> > > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ.
>>>>> > > > > To post to this group, send email to >>>>> tiddlywiki@googlegroups.com.
>>>>> > > > > To unsubscribe from this group, send email to
>>>>> > > > > tiddlywiki+unsubscribe@googlegroups.com.
>>>>> > > > > For more options, visit this group at
>>>>> > > > >http://groups.google.com/group/tiddlywiki?hl=en.
>>>>> > > > --
>>>>> > > > Wang-Chi Vincent Yeh, Assistant Professor
>>>>> > > > Department of Physics, National Dong Hwa University
>>>>> > > > Tel: 8633719 (O) 8633723 (Lab)
>>>>> > > --
>>>>> > > You received this message because you are subscribed to the Google >>>>> Groups
>>>>> > > "TiddlyWiki" group.
>>>>> > > To post to this group, send email to tiddlywiki@googlegroups.com.
>>>>> > > To unsubscribe from this group, send email to
>>>>> > > tiddlywiki+unsubscribe@googlegroups.com.
>>>>> > > For more options, visit this group at
>>>>> > >http://groups.google.com/group/tiddlywiki?hl=en.
>>>>> > --
>>>>> > Wang-Chi Vincent Yeh, Assistant Professor
>>>>> > Department of Physics, National Dong Hwa University
>>>>> > Tel: 8633719 (O) 8633723 (Lab)
>>>>> --
>>>>> You received this message because you are subscribed to the Google >>>>> Groups "TiddlyWiki" group.
>>>>> To post to th
>>>> -- >>>> Wang-Chi Vincent Yeh, Assistant Professor
>>>> Department of Physics, National Dong Hwa University
>>>> Tel: 8633719 (O) 8633723 (Lab)