How can we get multiple text rows to display in an event - text

multiple text rows to display in an event
How can we get multiple text rows to display in an event

Related

How to copy and paste dataframe rows into a web page textarea field

I have a dataframe with a single column "Cntr_Number" with x no of rows.
What i trying to achieve is using selenium to copy and paste the data into the web page textarea.
The constraint is that the web page text area only accept 20 rows of data per submission.
So how can i impplment it using while loop or other method.
Copy and paste the first 20 rows of data and click on the "Submit"
button
Copy and paste the next 20 rows of data and click on the
"Submit" button
repeat the cycle until the last row.
Sorry i dont have any sample code to show but this is what I'm trying to achieve.
Appreciate if could have some sample code on how to do the implmentation.
The better approach will be capture all the the data in a List, Later while pasting it you can check the length of the list, and later iterate through the list and paste the data 20 at a time in the text area. I hope this will solve your problem.

Kendo UI For Angular2 - Grid Row Select

I have a working <kendo-grid> component with 10 visible rows over a data set of 34 rows (approx 4 pages). Sorting and selecting is working as expected.
<kendo-grid [data]="gridView"
[pageSize]="pageSize"
[skip]="skip"
[pageable]="true"
[height]="300"
(pageChange)="pageChange($event)"
[sortable]="{ mode: 'single' }"
[sort]="sort"
[selectable]="true"
(sortChange)="sortChange($event)"
(selectionChange)="selectionChange($event)">
Say I select second row. Then I sort the table and the selection stays on row two but of course it's highlighting a different record. It's always selecting the second row on the grid, which of course, it's what I want.
How do I clear the selected row in my (sortChange) event so at least the user isn't presented with a different selection that they one they already chose. I am open to some kind of data binding attribute for selected row that I could set to null or some property on gridView or even poking around inside #ViewChild .
Any help would be appreciated.
Normal Sort
Ascending Sort
Descending Sort
I had a similar question here: Select grid row item from code
Basically, you also need to select the grid row item from code without user interaction and this is currently not supported in the current beta build of the Kendo UI Angular2 controls.
In my application, I resort to triggering a click event on the row I want to select. :/
I do this in a case where I have 'up' and 'down' buttons to rearrange the grid and want to maintain my selection when I switch items.
var grid = document.getElementById('myGrid');
var rows = grid.getElementsByTagName('tr');
rows[idx].click(); // add one to the desired row index to skip the header row
Here's a (sloppy, minimal) Plunkr of this scenario: http://plnkr.co/edit/09dlqdl0Xchoy0e5zKRq

Reading data of selected row in grid

With button click if I am using PXAdapter I am able to read the main master data but it is not reading of the selected grid. For Example, in the Case screen if I want to get the data of selected row in Activities tab, how can I achieve that. Any suggestions?
With below code you can get the currently selected row from the grid
Base.Activities.Current

Capture the values of checkboxes in c#

consider that there is a checkbox named abc,if we check that checkbox,it display a message "abc is checked",simillarly if multiple checkboxes are checked,then a message should display along with all the names of the checkboxes seperated by commas,like "abc,dbc is checked".how to get it?

How can I turn a footer cell into a data container?

I've got a split footer I made via How can I split a footer/header into multiple cells in Cognos?, but I need one of the split cells to be a Data Container.
Here's the footer/list items:
I actually want Location Count in the right column and a Text item in the left column as a label.
When trying to drag a query item into the right footer cell, I get this error: "This object can only be inserted into a data container"
Here's the properties list of the left item and right item respectively:
How can I turn this footer cell into a Data Container or otherwise allow me to set those "Text Source" properties to allow it to accept a data item from a query?
This can be easily done, after you press the unlcok button on the toolbar.
From locked state:
To unlock state:
Now, you can easily drag items from cell to another and drag query items into the cells.

Resources