How to create a table with multiple columns with data from the same dictionary?How to extract img src, title and alt from html using php?How to store arbitrary data for some HTML tagsCSS3's border-radius property and border-collapse:collapse don't mix. How can I use border-radius to create a collapsed table with rounded corners?Opening/closing tags & performance?How to create an HTML button that acts like a link?Can we have multiple <tbody> in same <table>?How to list all tags along with the full message in git?How to create a checkbox with a clickable label?Closing HTML <input> tag issueHow can I pull webpage data into my DataFrame by referencing a specific HTML class or id using pandas read_html?
Silly doubt about tidal effects and Einstein Field Equations
Is there a way, while dragging, to "snap" to the nearest guide?
Count All Possible Unique Combinations of Letters in a Word
Dates on degrees don’t make sense – will people care?
Does a vocal melody have any rhythmic responsibility to the underlying arrangement in pop music?
Why does the Saturn V have standalone inter-stage rings?
Prime sieve in Python
Concurrent normals conjecture
What is "industrial ethernet"?
"How can you guarantee that you won't change/quit job after just couple of months?" How to respond?
Why do even high-end cameras often still include normal (non-cross-type) AF sensors?
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
When to remove insignificant variables?
Why do some professors with PhDs leave their professorships to teach high school?
How to make clear to people I don't want to answer their "Where are you from?" question?
Greeting with "Ho"
Employer wants to use my work email account after I quit
How can I politely work my way around not liking coffee or beer when it comes to professional networking?
The relation between Dhamma and reality itself
How to model a twisted cylinder like this
Can a rogue use Sneak Attack in a Darkness spell cast by another player?
How do I professionally let my manager know I'll quit over smoking in the office?
How does DC work with natural 20?
Do I need a shock-proof watch for cycling?
How to create a table with multiple columns with data from the same dictionary?
How to extract img src, title and alt from html using php?How to store arbitrary data for some HTML tagsCSS3's border-radius property and border-collapse:collapse don't mix. How can I use border-radius to create a collapsed table with rounded corners?Opening/closing tags & performance?How to create an HTML button that acts like a link?Can we have multiple <tbody> in same <table>?How to list all tags along with the full message in git?How to create a checkbox with a clickable label?Closing HTML <input> tag issueHow can I pull webpage data into my DataFrame by referencing a specific HTML class or id using pandas read_html?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to create a table with HTML tags but I am stuck with it.
I've tried to play with % for i in list %, but I couldn't find a solution.
list = 'ticker': tickers, 'price': prices
<tbody>
<tr>
% for i in price %
<td> i </td>
% endfor %
% for i in ticker %
<td> i </td>
% endfor %
</tr>
<tr>
</tr>
</tbody>
I would see two columns one close to another, but I don't see any columns now.
html django django-views tags
add a comment |
I am trying to create a table with HTML tags but I am stuck with it.
I've tried to play with % for i in list %, but I couldn't find a solution.
list = 'ticker': tickers, 'price': prices
<tbody>
<tr>
% for i in price %
<td> i </td>
% endfor %
% for i in ticker %
<td> i </td>
% endfor %
</tr>
<tr>
</tr>
</tbody>
I would see two columns one close to another, but I don't see any columns now.
html django django-views tags
Could you add some example data and a clear description of your desired result?
– amazonic
Mar 25 at 8:39
Hello, my goal is to create a table with 2 columns that contain 2 different variables from a list. I created a dictionary with the two tags but I am not able to stream the variables in the table properly.
– mario
Mar 25 at 8:43
add a comment |
I am trying to create a table with HTML tags but I am stuck with it.
I've tried to play with % for i in list %, but I couldn't find a solution.
list = 'ticker': tickers, 'price': prices
<tbody>
<tr>
% for i in price %
<td> i </td>
% endfor %
% for i in ticker %
<td> i </td>
% endfor %
</tr>
<tr>
</tr>
</tbody>
I would see two columns one close to another, but I don't see any columns now.
html django django-views tags
I am trying to create a table with HTML tags but I am stuck with it.
I've tried to play with % for i in list %, but I couldn't find a solution.
list = 'ticker': tickers, 'price': prices
<tbody>
<tr>
% for i in price %
<td> i </td>
% endfor %
% for i in ticker %
<td> i </td>
% endfor %
</tr>
<tr>
</tr>
</tbody>
I would see two columns one close to another, but I don't see any columns now.
html django django-views tags
html django django-views tags
edited Mar 25 at 8:33
mario
asked Mar 25 at 8:22
mariomario
32
32
Could you add some example data and a clear description of your desired result?
– amazonic
Mar 25 at 8:39
Hello, my goal is to create a table with 2 columns that contain 2 different variables from a list. I created a dictionary with the two tags but I am not able to stream the variables in the table properly.
– mario
Mar 25 at 8:43
add a comment |
Could you add some example data and a clear description of your desired result?
– amazonic
Mar 25 at 8:39
Hello, my goal is to create a table with 2 columns that contain 2 different variables from a list. I created a dictionary with the two tags but I am not able to stream the variables in the table properly.
– mario
Mar 25 at 8:43
Could you add some example data and a clear description of your desired result?
– amazonic
Mar 25 at 8:39
Could you add some example data and a clear description of your desired result?
– amazonic
Mar 25 at 8:39
Hello, my goal is to create a table with 2 columns that contain 2 different variables from a list. I created a dictionary with the two tags but I am not able to stream the variables in the table properly.
– mario
Mar 25 at 8:43
Hello, my goal is to create a table with 2 columns that contain 2 different variables from a list. I created a dictionary with the two tags but I am not able to stream the variables in the table properly.
– mario
Mar 25 at 8:43
add a comment |
1 Answer
1
active
oldest
votes
try this
<tbody>
% for i in list %
<tr>
<td> i.ticker </td>
<td> i.price </td>
</tr>
% endfor %
</tbody>
for more details refer this
hope it helps
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55333702%2fhow-to-create-a-table-with-multiple-columns-with-data-from-the-same-dictionary%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
try this
<tbody>
% for i in list %
<tr>
<td> i.ticker </td>
<td> i.price </td>
</tr>
% endfor %
</tbody>
for more details refer this
hope it helps
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
add a comment |
try this
<tbody>
% for i in list %
<tr>
<td> i.ticker </td>
<td> i.price </td>
</tr>
% endfor %
</tbody>
for more details refer this
hope it helps
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
add a comment |
try this
<tbody>
% for i in list %
<tr>
<td> i.ticker </td>
<td> i.price </td>
</tr>
% endfor %
</tbody>
for more details refer this
hope it helps
try this
<tbody>
% for i in list %
<tr>
<td> i.ticker </td>
<td> i.price </td>
</tr>
% endfor %
</tbody>
for more details refer this
hope it helps
answered Mar 25 at 8:55
c.greyc.grey
1,7831723
1,7831723
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
add a comment |
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
I had to re-do the list that is parsing the data to the dictionary to make it work. Thanks a lot!
– mario
Mar 25 at 13:23
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55333702%2fhow-to-create-a-table-with-multiple-columns-with-data-from-the-same-dictionary%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Could you add some example data and a clear description of your desired result?
– amazonic
Mar 25 at 8:39
Hello, my goal is to create a table with 2 columns that contain 2 different variables from a list. I created a dictionary with the two tags but I am not able to stream the variables in the table properly.
– mario
Mar 25 at 8:43