Hi Mohammad, These are both inherent limitations of working with index values in TiddlyTables. Let me explain...
In your first example, you are trying to sort by an index. There is no simple way to do this in TiddlyWiki and because the table is generated by a filter, no simple way to do this in TiddlyTables. https://groups.google.com/d/topic/tiddlywiki/LJpK7t31G98/discussion Here is a thread discussing this issue, and a couple macro-based solutions. In fact, you replied that you would try one of the solutions in your Dynamic Tables plugin. Did you have any success? any suggestions? In your second example, you want the plugin to intelligently determine whether to create a new field "ic" or a new index "ic". the way the plugin works is if a field exists with that name it will take precedence over the index. I opted for a simplicity here though I suppose the plugin could make a more advanced decision based on whether that index exists and whether there is already data in the text field. That is the main reason it defaults to field instead of index. There is a risk of accidentally overwriting existing data in the text field if you inadvertently "create an index" by editing. I agree the documentation could be improved. I wish I had more time. I plan to add something to this effect: There are some limitations when using indexes as columns. This is due to inherent limitations of index support in filters. The most noticeable is that *index values cannot be sorted*. A mix of fields and indexes can be used as columns in a single table, but there is no way for the user to distinguish a "field" column from an "index" column. If an index and field exist with the same name, it is possible to have a mix of index values and field values in a single column. If a tiddler has both a field and index with the same name or if neither exist, the *field* value will always take precedence whether viewing or editing. Thank you for pointing this out. I hope this helps, Alan On Saturday, February 8, 2020 at 10:44:05 PM UTC-6, Mohammad wrote: > > Hi Alan, > In the latest version of Tiddlytables there seem some small issues > > A. sort > i. create several data tiddlers tagged with xx like tid1, tid2, tid3,... > ii. add an index/value as myindex > iii. give different numerical values like 1, 10, 111, 1000 > v. create a table and sort on myindex > > The sort does not work. > > > B. edit mode > i. create a tiddler of several dataTiddler all tagged with xx and all with > indexes like ia, ib, ic except tid1 which hs indexes ia and ib > ii go to edit mode and edit ic for tid1 in the table > iii. Tiddlytables creates field ic, while here it is desired to create > index ic > > > C. documentation > as TiddlyTables now supports both fields/indexes, the documentation needs > to be improved to reflect this. The current docs are based on table from > fields. > > --Mohammad > > --Mohammad > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5d7ca567-6908-4f30-9f9c-3240da0273b5%40googlegroups.com.

