I have a view that contains 5 columns. When the application is running, after the 5th ( last column ) there is a big space whici goes at the end of the view.
I want the last column of the view to be extended automatically and to go as far as the view is. Thank you!
You just need to check "Extend last column to window width" on the Style tab of View properties:
Related
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
We have a web site in which it is built using Lotus Notes. This site allows users to submit their applications for employment. On the initial screen the user selects the location and/or area of interest they are interested in. From their selection, a listing of the various positions available are displayed.
The issue that we are having is trying to get the listing to display the various positions in some type of order. The listing is displayed using a view.
Within this view, there are 4 columns. In the first column, the job title is displayed. In the second column, is the shift, the third column is the area of interest and the last column is the reference number. In the first column of the view, this is the value for the column title - "Job Title"
Below is the formula for the column value:
ThisDB := #ReplaceSubstring(#ReplaceSubstring(#Subset(#DbName; -1);" ";"+");"\";"/");
Temp := "" ;
"" + temp + jobTitle + ""
When this is displayed, it is displayed in order by the document ID, is there a way of getting this to be displayed by the area of interest? The area of interest would appear as "Purchasing", "Accounting", "Sales", etc.
Any help with this is greatly appreciated.
Thank you,
Jean
You need to open the view in Notes Designer and double-click on one of the column headers to open the properties. You can set a sort order in the properties dialog for the area of interest column, and make sure no other columns are sorted.
Alternatively, you can add a hidden column just for sorting as the first column from the left. That column can be the same value as area of interest (or anything else you need to sort by) but it won't display when the view is rendered.
I found the issue - within the formula we were using "searchview" and with the sort order for this defaults to "relevance". By adding the "searchorder=4" option users the designated column we have set as the sort order for the listing. Thank you for your comments and hope this helps someone else.
Need your inputs on below query-
after opening share point linked table in table view, fields section is grayed out for me..As mentioned in the below post, I want to set index on columns of sharepoint linked list ..How i can activate this section?
appreciate your inputs..
This is related to below post
Index on Sharepoint Linked table
Well, everything going to be greyed out if your cursor in the ID column since there nothing you can change in the required auto number ID column. If you move your cursor into other columns, then the options on the ribbon should un-grey and become enabled.
I suppose the above is a long shot and I assume you moved the cursor out of the ID column or at least clicked on the column you want to make changes to. So your picture as you show is correct since your cursor is placed in the ID column of which as noted you cannot change anything about that ID column anyway.
I have a view panel displaying a view. The view has a total column in front of a categorized column that shows the total for that category. How can I not show the number when it is on the detail line?
Please change the below Xpage view column formula, according to your totals column name.
viewEntry.isDocument()? '' : viewEntry.getColumnValue('<totalColumnName>')
where viewEntry is the request variable scope name under which row data made available.
In the view move the totals column behind the categories and use the property to hide details. The column sequence in the view and in the view panel don't need to be the same. So you can move it back in front in the panel.
Using this technique does not work for me using r10 FP6 and Chrome version 90.
Total column behaves as a UI-only notes column function, and thus throws an error with a viewPanel column formula like return view1.isDocument()?'':view1.getColumnValue('totCol1');
Simply binding the viewPanel Column to the notes (total) column works, but the detail rows ('1's) are not ignored.
I have a form in CRM 2011 with a tab split into 2 columns. On this tab, I want to add a section that spans across both columns of the tab (the entire width of the form). When I insert a section on the tab, it just adds the new section to the left column of the tab and I am unable to get it to span across the other column. Does anyone know of a way to achieve this?
Thanks in advance!
Insert a one column tab. Drag a field to one of the 2 columns inside the tab. Click on the field, then on Change Properties in the ribbon on the top of the page. Select the formatting tab and then choose 2 columns.
I have fixed this issue by adding a new one-column tab without showing the tab name below the existing tab and adding a one-column section within that tab. So this now ends up looking like another field within the same tab since the new tab doesnt have a name displayed. Thanks for your help Jason Lattimer!