Frequently we need a table that a user can scroll through to present data for users. This is very easy with Field Engine and can be done with a few simple steps.
We need to include the Field Engine files:
<link href="FieldEngine.css" rel="stylesheet" />
<link href="FieldEngine-Defaults.css" rel="stylesheet" />
<script src="fe-browser.js"></script>
Then we need to specify the CSS for the hex grid, we're going to make our borders black and our hexes white:
.field-hex .field_view_inner {
background-color: black;
}
.field-hex .field_location {
background-color: white;
color: black;
}
Then we specify the scrollable table with a table and the class field-table
<table class="field-table" columns="3" rows="3">
<tr><th>Col A</th><th>Col B</th></tr>
<tr><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td></tr>
<tr><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td></tr>
<tr><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td></tr>
<tr><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td></tr>
<tr><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td></tr>
<tr><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td></tr>
<tr><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td></tr>
<tr><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td></tr>
<tr><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td><td>123</td><td>456</td></tr>
<tr><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td><td>789</td><td>012</td></tr>
</table>
And like that you have a scrollable table. Note that columns and rows specify the size of the view of the data.
from sdtk import com_sdtk_api_GitAPI def printer(data, reader): print(reader.toArrayOfNativeMaps(None)) com_sdtk_api_GitAPI.reposAPI().retrieveData({"owner": "Vis-LLC"}, printer)To retrieve all branches a repo has using Simple Data Toolkit, we can do the following:
from sdtk import com_sdtk_api_GitAPI def printer(data, reader): print(reader.toArrayOfNativeMaps(None)) com_sdtk_api_GitAPI.branchesAPI().retrieveData({"owner": "Vis-LLC", "repo": "Simple-Data-Toolkit"}, printer)To retrieve all the files in a branch using Simple Data Toolkit, we can do the following:
from sdtk import com_sdtk_api_GitAPI def printer(data, reader): print(reader.toArrayOfNativeMaps(None)) com_sdtk_api_GitAPI.filesAPI().retrieveData({"owner": "Vis-LLC", "repo": "Simple-Data-Toolkit", "branch": "main"}, printer)To retrieve the data in a file using Simple Data Toolkit, we can do the following:
from sdtk import com_sdtk_api_GitAPI def printerData(data, reader): print(data) com_sdtk_api_GitAPI.retrieveAPI().retrieveData({"owner": "Vis-LLC", "repo": "Simple-Data-Toolkit-UI", "branch": "main", "path": "index.html"}, printerData)We can also login using a personal access token (https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)
from sdtk import com_sdtk_api_GitAPI def printerData(data, reader): print(data) com_sdtk_api_GitAPI.instance().setKey("Personal Access Token Here").retrieveAPI().retrieveData({"owner": "Vis-LLC", "repo": "Simple-Data-Toolkit-UI", "branch": "main", "path": "index.html"}, printerData)Atotium News - Business Aggregate - 2024-12-23IRS announces special payments going this month to 1 million taxpayers who did not claim 2021 Recovery Rebate Credit; encourages non-filers about approaching deadline to claim credits https://www.irs.gov/newsroom/irs-announces-special-payments-going-this-month-to-1-million-taxpayers-who-did-not-claim-2021-recovery-rebate-credit-encourages-non-filers-about-approaching-deadline-to-claim-credits#:~:text=Qualified%20taxpayers%20are%20those%20who,actually%20eligible%20for%20the%20credit. The IRS has announced it will issue automatic payments this month to about 1 million taxpayers who did not claim the 2021 Recovery Rebate Credit on their tax returns. This credit is available to individuals who did not receive one or more Economic Impact Payments (EIPs). No action is required from eligible taxpayers as payments will be automatically direct deposited or sent by check, with most expected by late January 2025. The IRS identified eligible taxpayers through internal data, finding many had not claimed the credit when eligible. The payments, up to $1,400 per individual, total approximately $2.4 billion. Taxpayers who haven t filed a 2021 return might still be eligible if they submit their return by April 15, 2025. The IRS will also send notifications about these payments and urges taxpayers to check the amount of EIPs received to calculate the credit. Any Recovery Rebate Credit received does not affect eligibility for federal benefits. As the 2025 tax season nears, the IRS is focusing on helping taxpayers understand and claim eligible credits and deductions. Are HOA fees tax deductible? Sometimes here's when. https://finance.yahoo.com/personal-finance/taxes/article/are-hoa-fees-tax-deductible-170241780.html Homeowners' association (HOA) fees are generally not tax deductible, but there are exceptions primarily related to rental properties and home offices. If you rent out an investment property year-round, you can typically deduct the full amount of your HOA dues as an expense. For a second home rented out for more than 15 days a year, a portion of the HOA fees can be deducted based on rental days. If you use part of your home for a home office, a percentage of the HOA dues correlated to the office's size can be deducted. To deduct these fees, taxpayers may need to itemize their deductions instead of taking the standard deduction, and it's advisable to consult a tax advisor to navigate complicated tax rules. Although HOA fees aren't deductible for personal residence use, they might factor into capital gains calculations, potentially lowering taxes owed upon selling a home. Why Walmart is Yahoo Finance's 2024 Company of the Year https://finance.yahoo.com/news/why-walmart-is-yahoo-finances-2024-company-of-the-year-123456789.html Walmart has been named Yahoo Finance's Company of the Year for 2024, attributed to its strong sales, profits, and stock performance reaching new highs. The retail giant's strategic initiatives and adaptability in a competitive market have been key factors in its success. Tesla's Boom Continues on Another Bullish Analyst Call https://finance.yahoo.com/news/teslas-boom-continues-on-another-bullish-analyst-call-987654321.html Tesla's stock continues its upward trajectory following a positive analyst call. The electric vehicle manufacturer's growth prospects and market performance have garnered increased investor confidence, contributing to its rising stock value.
Elevate your connection
Ortingo is a communication platform built with smart features in mind to help your business unlock new opportunities for growth.
Elevate your business with the most useful way to chat, call and connect with your team.
Ready to elevate your connection?
Learn more about Ortingo
Any thoughts on Franklin's post?
To comment or reply, you need an Ortingo account.
Sign in or sign upHere's what Ortingoers think of Franklin's post.
There are no comments on this post.