This question about Topic Markup Language and applications: Asked

How can I use a variable within format string of JQGridPlugin?

I like the functionality of the JQGridPlugin. However something doesn't work out for me.

When I use a format like

state_format="$percntMYFUNCTION{\"${state}\"}$percnt" (${value} or $dollar{state} dont work either)

it does not transfer the value of ${state} . the function gets an empty value.

When I use"$percntMYFUNCTION{\"%DATE%\"}$percnt"

the value of %DATE% is transferred and MYFUNCTION works fine.

Is there a possibility to get the state value transferred to MYFUNCTION?

-- ThomasSchmidt - 10 Jul 2013

When I use a typical function it also doesn't work:

$percntCALC{\"$RIGHTSTRING(${Topic},7)\"}

Used in Topic_Format string it results in {Topic} (7 characters) that means that ${Topic} is used as text and not replaced by the value.

-- ThomasSchmidt - 12 Jul 2013

I would be very interested, too: Question1301

-- PhilippLeufke - 02 Sep 2013
 

QuestionForm edit

Subject Topic Markup Language and applications
Extension JQGridPlugin
Version Foswiki 1.1.8
Status Asked
Related Topics
Topic revision: r3 - 02 Sep 2013, PhilippLeufke
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy