tabulator performance issue when using on html tabs - tabulator

i have created a webpage which has a tab control with two tabs. Each tab has a tabulator table on it. As i switch between the tabs i noticed a significant lag. By the 5th tab click, the entire webpage is hung up.
Using tabulator 5
Virtual DOM
no dataset (ie empty table being rendered)
Can anyone help me?

Related

Clicking checkbox on an intranet web page not working in VBA using Internet Explorer 11

I am stuck at a specific point in coding VBA. Using VBA I am logging onto an Intranet portal which is a file management system and opening a series of dynamic web pages one after the other. Using VBA I am trying to get a checkbox element checked. Once this element is checked, all sub-elements appearing in a table below get checked automatically. After this I need to initiate download of all the selected files. However, I cannot get the checkbox element "checked".
Here is the HTML as it appears on the web-page. I cannot share the link as it is intranet and confidential.
Link to the HTML as I am not allowed to post images yet
Here is my VBA code:
Set inpute = objIE.Document.queryselector("div[id=gridx_Grid_2] div div div table tbody tr td span[aria-checked=false]")
inpute.setAttribute("aria-checked") = True
inpute.Click
When the above code is run, the "aria-selected" attribute changes to "true" in the HTML but Click has no effect on the checkbox.
I have tried using the getElementbyClassName method and using Click after that to no avail.
Please help me out on this issue. Do let me know in case you need any other information.
This solution from Zwenn worked perfectly:
First of all, a checkbox has no click event. On topic: Because the whole List of other checkboxes will be marked by marking the one in question, I'am pretty sure the one in question triggers a HTML event like change when you mark it manually. You must check which event it is and trigger it with VBA. You can look for the event with FireFox or Chrome, but not with the IE. Look here how to do that and how to handle with events:
Automate IE via Excel to fill in a dropdown and continue
– Zwenn 14 hours ago

(Acumatica) New row button on grid not working

I created a custom screen in Acumatica. I have a simple table and a grid to add records to it. The Account Mapping grid works (and it is way more complicated). But on the Branch Mapping grid, when I click the “PLUS” icon, the icon goes grey and no new row is available on the grid.
This is what is looks like after clicking the PLUS icon:
The table is very simple.
When a Company is selected, the view for the grid is
public SelectFrom<ICSBranchMapping>
.Where<ICSBranchMapping.organizationID
.IsEqual<ICSSetup.organizationID.FromCurrent>>.View BranchMapping;
The ICSSetup table is even simpler:
If I create a new record in ICSSetup, it lets me add 1 row to the ICSBranchMapping table
But I cannot add another row.
Here is the DAC for the ICSBranchMapping table
The records in the DB all look fine after adding the 1 row it will allow me to enter.
The action button is a dummy. The code has been commented out to ensure it has nothing to do with the issue.
I forgot to mention, I CAN update the existing row.
I’ve been fighting with this for 2 days. If anyone has any suggestions, please help.
Solved.  I added the BranchMapping grid using the customization editor.
It did not include this line in the aspx:
That fixed it.  It seems like that should be a default in the Screen Editor.

Lotus xpages: xpage containing multiple views

I have a xpage which contains one big table with 1 row and 2 columns. I created this table to separate the xpage into 2 parts: the left one where I have some buttons and the right one where I want to display some views.
From the container controls I drag a View on the right column, but is there any chance to do this in such a way that 1st button clicked => 1st view is shown, 2nd button clicked => 2nd view is shown and so on.
Or every xpage should contain one view?
I raise this question considering the fact that in Lotus Notes if you had one frameset with 2 frames, you could easily create an outline in one frame, and some views that will be open by every outline entry in the 2nd frame. What I want to do is quite the same thing.
I appreciate your time. If you think this question isn't 'good' enough, I will just delete it. I'm new in XPages development.
Use simple table with one row and two columns. Place your buttons inside the left cell. Put the switch control (mentioned by Tim) to the right one.
More about the control in extlib demo DB... online demo here
Create separate custom control for each view and drag and drop "Include Page" from container control to the right column of your table and compute the page name instead of selecting an XPage. You can compute like this sessionScope.CCName + ".xsp". And onclick of the button set appropriate custom control(which contains the view) name as the value to the sessionScope variable and reload the page. This will do what you want. I hope this too helps.
You could do this on a single XPage using a xe:navigator control in the left column and an xe:dynamicViewPanel control in the right. These controls are available in the Extension Library if you are running 8.5.3 and natively available in release 9.
The Dynamic View Panel control is the dynamic content control for displaying one of several Domino views. Only the component for the displayed view is loaded in the component tree so it is highly efficient compared to alternative designs (like an xp:viewPanel control in each facet of an xe:switchFacet control as each viewPanel is loaded in the component tree on the server, not just the one that is rendered).
See this online demo http://xpages.jp/demos/xpagesext.nsf/Domino_DynamicView.xsp
put each content on a seperate panel in a custom control.
Have those custom controls in seperate divs and show/hide divs based on button click.
If you are using different xpages, you can use IncludePage(from container controls), which will act like a computed subform.

Sharepoint Custom List Preview Pane not displaying information past Title and Date

My preview pane has all the items down the left side as it should, and it has all of my column selections as rows down the right side.
However, when hovering over the titles, only Date and Title are being filled out on the right side.
If I change the view style to boxed or anything then it displays all the information.
It just appears that preview pane is having some weird difficulty correlating the hovered over item to the information on the right, Any suggestions?
Using Sharepoint 2013. I don't have Sharepoint Designer though. There's roughly 15 columns of information that needs to be displayed in rows because there's not enough room along the columns bar otherwise. Boxed style worked for a moment but then I realized there was no way to make it 1 box wide instead of default 2 boxes wide.
EDIT: I created a calendar view to add onto my page and chose to display Title. This might be where the problem is coming from. It says the title of all of my items are (no title).
I figured out that in InfoPath in the Fields pane on the right, you have to go to 'Show Advanced View'. Then there is a group called queryFields. The title inside queryFields was never being injected with same information as dataField. I saw later in the view option that my sort by setting was [Title]. I don't know if it's relevant, but putting it out there for future readers.
Solution: If you have an email user/group field that is not completed, it will not display any details beyond that field for each record. Either remove that email column, or ensure they are filled out.

Issue with Resizeable Columns in YUI2 DataTable Nested in YUI3 Tabview

I'm having an issue with resizing columns in a YUI2 DataTable when the table is nested inside a YUI3 Tabview.
My situation:
YUI3 Tabview has 4 tabs.
Each tab contains a DataTable that has sortable and resizable columns.
The columns in the DataTable of the first tab (the default tab that is displayed after loading the tab view) are sortable AND resizable and work as expected.
The columns in DataTables in the other three tabs are sortable BUT NOT resizeable.
I'm able to see in firebug that the DataTables in the other tabs have the same innerHTML structure, classes, etc in the elements.
I'm happy to post code samples but I thought I'd just start with this basic question to see if anyone has ideas or suggestions for how I can debug this issue.
Any ideas and suggestions are welcome.
Bart
I'm not able to reproduce your problem locally. Can you post a repro case?
Here's what worked for me: http://gist.github.com/501137
jenny

Resources