Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Inline Editing of tables
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 50 of 263 - Collapse all  -  Translate all to Translated (View all originals) < Older  Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Szego  
View profile  
 More options Jul 6 2012, 9:59 am
From: David Szego <david.sz...@gmail.com>
Date: Fri, 6 Jul 2012 06:59:34 -0700 (PDT)
Local: Fri, Jul 6 2012 9:59 am
Subject: Re: [tw] Re: Inline Editing of tables

Fantastic work - this is really useful to me, thank you.

I've noticed it doesn't work with the SortableGridPlugin from
http://rumkin.com/tools/tiddlywiki/#SortableGridPlugin

If I do:

|editable|k
|!Heading 1|!Heading 2|!Heading 3|h
|Cell|cell|cell|

...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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile   Translate to Translated (View Original)
 More options Jul 6 2012, 10:31 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Fri, 6 Jul 2012 22:31:45 +0800
Local: Fri, Jul 6 2012 10:31 am
Subject: Re: [tw] Re: Inline Editing of tables

David,

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.

Vincent

2012/7/6 David Szego <david.sz...@gmail.com>

--
Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O)    8633723 (Lab)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anthony  
View profile  
 More options Jul 6 2012, 10:39 am
From: anthony <i...@ufocomputerservices.com>
Date: Fri, 6 Jul 2012 07:39:29 -0700 (PDT)
Local: Fri, Jul 6 2012 10:39 am
Subject: Re: Inline Editing of tables

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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 6 2012, 10:46 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Fri, 6 Jul 2012 22:46:46 +0800
Local: Fri, Jul 6 2012 10:46 am
Subject: Re: [tw] Re: Inline Editing of tables

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>

--
Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O)    8633723 (Lab)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anthony  
View profile  
 More options Jul 6 2012, 10:57 am
From: anthony <i...@ufocomputerservices.com>
Date: Fri, 6 Jul 2012 07:57:09 -0700 (PDT)
Local: Fri, Jul 6 2012 10:57 am
Subject: Re: [tw] Re: Inline Editing of tables

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...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 6 2012, 11:05 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Fri, 6 Jul 2012 23:05:56 +0800
Local: Fri, Jul 6 2012 11:05 am
Subject: Re: [tw] Re: Inline Editing of tables

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.

Vincent

2012/7/6 David Szego <david.sz...@gmail.com>

--
Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O)    8633723 (Lab)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile   Translate to Translated (View Original)
 More options Jul 6 2012, 11:15 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Fri, 6 Jul 2012 23:15:29 +0800
Local: Fri, Jul 6 2012 11:15 am
Subject: Re: [tw] Re: Inline Editing of tables

anthony,

I am very happy to know it works!

For the calculation things, I am also working on a TableCalculator plugin
but its not ready to release and I have no clear date for that yet.

The TableCalculator plugin is modified from
http://www.TiddlyTools.com/#ColumnCalculatorPlugin v 0.6.2 by Eric Shulman.
Maybe you can try that one?

Vincent

2012/7/6 anthony <i...@ufocomputerservices.com>

--
Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O)    8633723 (Lab)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anthony  
View profile  
 More options Jul 6 2012, 11:50 am
From: anthony <i...@ufocomputerservices.com>
Date: Fri, 6 Jul 2012 08:50:38 -0700 (PDT)
Local: Fri, Jul 6 2012 11:50 am
Subject: Re: [tw] Re: Inline Editing of tables

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!!!!

Also if you ever need a tester I am here!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 6 2012, 11:51 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Fri, 6 Jul 2012 08:51:23 -0700 (PDT)
Local: Fri, Jul 6 2012 11:51 am
Subject: Re: [tw] Re: Inline Editing of tables

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anthony  
View profile  
 More options Jul 6 2012, 2:30 pm
From: anthony <i...@ufocomputerservices.com>
Date: Fri, 6 Jul 2012 11:30:28 -0700 (PDT)
Local: Fri, Jul 6 2012 2:30 pm
Subject: Re: [tw] Re: Inline Editing of tables

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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 9 2012, 11:42 pm
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Mon, 9 Jul 2012 20:42:42 -0700 (PDT)
Local: Mon, Jul 9 2012 11:42 pm
Subject: Re: [tw] Re: Inline Editing of tables

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whatever  
View profile  
 More options Jul 10 2012, 5:59 am
From: whatever <kbrezov...@gmail.com>
Date: Tue, 10 Jul 2012 02:59:54 -0700 (PDT)
Local: Tues, Jul 10 2012 5:59 am
Subject: Re: Inline Editing of tables
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 10 2012, 6:54 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Tue, 10 Jul 2012 18:54:16 +0800
Local: Tues, Jul 10 2012 6:54 am
Subject: Re: [tw] Re: Inline Editing of tables

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日星期二寫道:

--
Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O)    8633723 (Lab)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whatever  
View profile  
 More options Jul 10 2012, 8:12 am
From: whatever <kbrezov...@gmail.com>
Date: Tue, 10 Jul 2012 05:12:24 -0700 (PDT)
Local: Tues, Jul 10 2012 8:12 am
Subject: Re: Inline Editing of tables
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile   Translate to Translated (View Original)
 More options Jul 10 2012, 9:49 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Tue, 10 Jul 2012 21:49:38 +0800
Local: Tues, Jul 10 2012 9:49 am
Subject: Re: [tw] Re: Inline Editing of tables

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日星期二寫道:

--
Wang-Chi Vincent Yeh, Assistant Professor
Department of Physics, National Dong Hwa University
Tel: 8633719 (O)    8633723 (Lab)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 10 2012, 11:01 am
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Tue, 10 Jul 2012 08:01:43 -0700 (PDT)
Local: Tues, Jul 10 2012 11:01 am
Subject: Re: [tw] Re: Inline Editing of tables

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whatever  
View profile   Translate to Translated (View Original)
 More options Jul 10 2012, 12:12 pm
From: whatever <kbrezov...@gmail.com>
Date: Tue, 10 Jul 2012 09:12:19 -0700 (PDT)
Local: Tues, Jul 10 2012 12:12 pm
Subject: Re: Inline Editing of tables
Hi, Vincent!
I did some testing. the addClass/removeClass didn't quite work, so I
used the setStylesheet:

To reapply the formatting:
        if ( Story.prototype.tEditing_title == tiddler.title &&
                Story.prototype.tEditing_ndx == tIndex ) {
                Story.prototype.tEditing_title = null;
                Story.prototype.tEditing_ndx = null;
                remove_edit_buttons ( table );
setStylesheet(".servedtable td:first-child {display: none;}",
"servedtable");

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whatever  
View profile  
 More options Jul 10 2012, 12:14 pm
From: whatever <kbrezov...@gmail.com>
Date: Tue, 10 Jul 2012 09:14:32 -0700 (PDT)
Local: Tues, Jul 10 2012 12:14 pm
Subject: Re: Inline Editing of tables
To clarify, in IE, the servedtable was disabled correctly, but it
wasn't reapplied afterwards.

w

On Jul 10, 6:12 pm, whatever <kbrezov...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whatever  
View profile   Translate to Translated (View Original)
 More options Jul 11 2012, 3:06 pm
From: whatever <kbrezov...@gmail.com>
Date: Wed, 11 Jul 2012 12:06:00 -0700 (PDT)
Subject: Re: Inline Editing of tables
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.

w

(1) http://www.tiddlytools.com/#ToggleTiddlerTags

w

On 10 jul., 18:14, whatever <kbrezov...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anthony  
View profile  
 More options Jul 12 2012, 11:39 am
From: anthony <i...@ufocomputerservices.com>
Date: Thu, 12 Jul 2012 08:39:55 -0700 (PDT)
Local: Thurs, Jul 12 2012 11:39 am
Subject: Re: [tw] Re: Inline Editing of tables

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 12 2012, 12:12 pm
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Thu, 12 Jul 2012 09:12:30 -0700 (PDT)
Local: Thurs, Jul 12 2012 12:12 pm
Subject: Re: [tw] Re: Inline Editing of tables

David,

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.

Vincent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 12 2012, 12:34 pm
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Thu, 12 Jul 2012 09:34:49 -0700 (PDT)
Local: Thurs, Jul 12 2012 12:34 pm
Subject: Re: [tw] Re: Inline Editing of tables

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
whatever  
View profile  
 More options Jul 12 2012, 1:22 pm
From: whatever <kbrezov...@gmail.com>
Date: Thu, 12 Jul 2012 10:22:04 -0700 (PDT)
Local: Thurs, Jul 12 2012 1:22 pm
Subject: Re: Inline Editing of tables
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.

(1) http://svn.tiddlywiki.org/Trunk/contributors/PaulDowney/plugins/FatSl...

w

On 12 jul., 18:34, Vincent Yeh <qmo.w...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vincent Yeh  
View profile  
 More options Jul 12 2012, 9:31 pm
From: Vincent Yeh <qmo.w...@gmail.com>
Date: Thu, 12 Jul 2012 18:31:24 -0700 (PDT)
Local: Thurs, Jul 12 2012 9:31 pm
Subject: Re: Inline Editing of tables

W,

That could be useful to the future releases of TableCalculator plugin.
Thanks for the info.

Vincent


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
anthony  
View profile  
 More options Jul 13 2012, 10:33 am
From: anthony <i...@ufocomputerservices.com>
Date: Fri, 13 Jul 2012 07:33:58 -0700 (PDT)
Local: Fri, Jul 13 2012 10:33 am
Subject: Re: [tw] Re: Inline Editing of tables

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?

You guys are awesome btw.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 26 - 50 of 263 < Older  Newer >
« Back to Discussions « Newer topic     Older topic »