Remove the first column of Table
I want to remove the first column(the column used for selecting the row(s)) of the sap ui5 table.
I don't have the requirement to select the row(s).
I tried to do that by css, but, it is messing with the table alignment.
Can any one suggest, how to remove first column of table?
adding "selectionMode: sap.ui.table.SelectionMode.None" to the table, first column hides
Similar Messages
-
[ADF Faces] set cursor position to the first column input text in ADF table
How do i set the cursor position to the first column input text when i Insert a blank row?
My idea is to implement using javascript. document.setfocus() but how do i do it from the backing bean code? or how do i install custom js to call document.setfocus()?
any ideas?
Message was edited by:
user450391Did you try by iterating the selected row?
Bind the table with the managed bean and then try with below code:
RichTable empTable;
RowKeySet selectedEmps = getEmpTable().getSelectedRowKeys();
Iterator selectedEmpIter = selectedEmps.iterator();
DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding empIter = bindings.findIteratorBinding("EmpView1Iterator");
RowSetIterator empRSIter = empIter.getRowSetIterator();
while(selectedEmpIter.hasNext()){
Key key = (Key)((List)selectedEmpIter.next()).get(0);
Row currentRow = empRSIter.getRow(key);
System.out.println(currentRow.getAttribute("Ename")); -
Disabling validations if the first column is empty in an editable table
Hi ,
I'd want to disable validations if the first column in an editable table is empty - coz we'd assume that the user does not want to enter any data in the new row. How can this be done ?Hi Viren,
It is correct that the first line for every Master Data is an empty row, if I am not wrong it derives from SEM settings.
1.If you have some rows with 0CUST_SALES without any attribute it is because you are uploading this MAster Data with a source that does not consider compound objects: it is surely a Transactional DataSource (you do not upload Attributes). So for every Transactional record for which you do not upload also compound objects the system creates a record in your Master Data that is not correct.
2. If you do not have Distr Channel update in Inventory Cube I think you must re-upload all your request starting from PSA. If you have deleted your PSA you can create a DataSource on your cube and feed once again your cube with its same data (built Update Rules that start from Cube and end in the same Cube). Make an upload of all your request and the delete all previous request.
Ciao.
Riccardo. -
Search for the first column in a table?
I have numerous tables that I've setup up with Paragraph, Cell and Table styles. They are linked to Excel files. Every time they are updated everything updates perfectly, except one column. All the columns are right justified, but the first column and because of the Paragraph styles it right justifies everything.
I'm trying to figure out if there is a way to search and change all the text in every first column of a table and have them be left justified. The text in the left column has up to 4 different styles on alternating lines or I would just setup a Character style and highlight and change manually.
Any ideas would be greatly appreciated.
I am using version CS6 and if there is a way of doing this using the Multi/Find Change plugin, I do have and use that, but I think that is just to run multiple searchs, in a particular order.
Peter@Peter – that can be done by scripting.
See the following code snippet in ExtendScript (file suffix *.jsx, plain text file), that would change all text in every cell of every first column of every table in your active document to left align:
app.documents[0].stories.everyItem().tables.everyItem().columns[0].cells.everyItem().texts[0].justification = Justification.LEFT_ALIGN;
Uwe -
How to remove the duplicate Columns in Multiple Rows?
Hi,
I want to remove the duplicate columns in a Multiple Rows.
For example:
Now i'm getting the output like this
S_NO Order_number Assy_item Assy_Desp Item_Number
1 S3123 12345 TEST *1245*
2 S3123 12345 TEST *1256*
3 S3123 12345 TEST *1289*
4 S3123 12345 TEST *1223*
5 S4123 42345 SAMPLE *4568*
6 S4123 42345 SAMPLE *5656*
7 S4123 42345 SAMPLE *4558*
the Original output should be like this
S_NO Order_number Assy_item Assy_Desp Item_Number
1 S3123 12345 TEST *1245*
2 *1256*
3 *1289*
4 *1223*
5 S4123 42345 SAMPLE *4568*
6 *5656*
7 *4558*
note: Alignment Problem all the Bold Numbers are Item Number(Last Column)*
i'm using XML and RTF template.
RTF Template is a Basic Table like Structure
i pasted the XML code below
<?xml version="1.0" encoding="UTF-8"?>
<dataTemplate name="items" version="1.0">
<parameters>
<parameter name="P_DATE" dataType="date"/>
<parameter name="P_DEPT_NO" dataType="varchar2"/>
</parameters>
<dataQuery>
<sqlStatement name="ROW1">
<![CDATA[
SELECT
SUBSTR(IMGR.ORDER_NUMBER,3,2) MACHINE_NO
,IMGR.ORDER_NUMBER
,IMGR.ASSY_ITEM_NUMBER
,IMGR.ASSEMBLY_DESCRIPTION
,IMGR.ITEM_NUMBER
,IMGR.ITEM_DESCRIPTION
,SUBSTR(IMGR.ORDER_NUMBER,1,2) DEPT_NO
,IMGR.PLAN_DESCRIPTION
FROM XXI.IGL_MRP_GROSS_REQUIREMENTS IMGR
WHERE IMGR.DEMAND_TYPE IN ('Discrete job','Non-standard job')
AND IMGR.PLAN_DESCRIPTION ='MRP-PRODUCTION'
AND IMGR.DEMAND_DATE <= :P_DATE
AND SUBSTR(IMGR.ORDER_NUMBER,1,2) IN (&P_DEPT_NO)
ORDER BY
DEPT_NO
,MACHINE_NO
,IMGR.ASSEMBLY_DESCRIPTION
,IMGR.ASSY_ITEM_NUMBER
,IMGR.ORDER_NUMBER
,IMGR.ITEM_NUMBER
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_IGLOO_QA_FPI" source="ROW1">
<element name="MACHINE_NO" value="MACHINE_NO"/>
<element name="ORDER_NUMBER" value="ORDER_NUMBER"/>
<element name="ASSY_ITEM_NUMBER" value="ASSY_ITEM_NUMBER"/>
<element name="ASSEMBLY_DESCRIPTION" value="ASSEMBLY_DESCRIPTION"/>
<element name="ITEM_NUMBER" value="ITEM_NUMBER"/>
<element name="ITEM_DESCRIPTION" value="ITEM_DESCRIPTION"/>
<element name="DEPT_NO" value="DEPT_NO"/>
<element name="PLAN_DESCRIPTION" value="PLAN_DESCRIPTION"/>
</group>
</dataStructure>
</dataTemplate>
Please Share your ideas.
Thank
Aswathhi Ananth,
i tried the logic but its also not printing the First Line.
Syntax:
<?if:ORDER_NUMBER!= ORDER_NUMBER?><?ORDER_NUMBER?><?end if?>
I think this condition works fine if it is start from second line of the row.
Output:
S_NO Order_number Assy_item Assy_Desp Item_Number
1 12345 TEST 1245
2 12345 TEST 1256
No Order_number displayed.
i hope you got my point. Please help me to get through it.
Thanks
Aswath -
SQL Loader Inserts chr(13) and chr(10) in the first column of every row.
Hi,
I have exported a data in a pipe delimited file using TOAD in one database. Now I want to load the data in my local database using SQL Loader. However every time I try to load the data a double quote followed by a new line is entered for the first column of each row. Unfortunately the delimited file is very big and hence can't be posted here. However I tried the same with a customized table and its data and found the same problem. Below are the table structures and control file that I used.
create table test_sql
a varchar2(30),
b date
insert into test_sql values('51146263',sysdate-3);
insert into test_sql values('51146261,sysdate-1);
EXPORTED PIPE DELIMITED FILE_
A|B|!##!
51146261|04/14/13 4:55:18 PM|!##!
51146263|04/12/13 4:55:32 PM|!##!
create table test_sql1 as select * from test_sql where 1=2;
CONTROL FILE_
OPTIONS(SKIP=1)
LOAD DATA
INFILE 'C:\Users\Prithwish\Desktop\Test.txt' "str '!##!'"
PRESERVE BLANKS
INTO TABLE TEST_SQL1
FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
A CHAR(2000),
B DATE "MM/DD/YYYY HH12:MI:SS AM"
select * from TEST_SQL1;
After this when I paste it in notepad I get the following result
A B
51146261" 14-APR-0013 16:55:18
51146263" 12-APR-0013 16:55:32.
I have no idea how the quotes or the newline appear. Is this a Toad bug? Any help would be greatly appreciated. Really urgent.
Thanks in advance
RegardsHi Harry,
I actually thought that the str !##! was causing the problem. Actually my original export has some new lines in some specific columns so I can't keep the new line as my line terminator and hence I kept the !##! as my terminator.
When I put the same data in a notepad and load it there is no problem at all. For e.g I just typed the following in a notepad and the data loaded just fine.
A|B|!##!
51146261|01-01-01 10:10:10 AM|!##!
51146263|01-01-01 11:11:11 AM|!##!
Its just when I load the exported file there the problem arises though I have verified the file using UNIX as well using octal dump and found no hidden characters.
Regards,
Prithwish -
All the data getting exported in the first column of csv while exporting
Hi All,
In 11.5.10.2, I have a page with advanced table region. Am using OA Framework's export button to export the results.
But, problem is, All the results are getting exported in the first column of the output .csv file. Why such a behavior?
Profile Option of 'Export MIME Type' value is text/text-separted-values.
Any ideas would be of timely help. Thanks.
Regards, SooryaFrom OAF standpoint, it just exports the data. Data interpretation is completely dependent on client machine and excel setups.
Please check the Data-->Text to Columns wizard where we can specify the delimiter(s) on excel.
Not sure if this can be set up in Apps, so that we need not change on every end-user machine.
Hope this helps.
-- Thanks -
(JTable) How can i get the first columns cell in a selected row?
Hello. I am trying to figure out how i can get the first columns cell within a selected row no matter what cell is selected in that row. I have a class that extends AbstractTableModel which represents the table. Now i have another class that extends DefaultSelectionModel. Each model is added to the JTable via setModel(TableModel dataModel), setSelectionModel(ListSelectionModel newModel). Now i don't understand what i have to return from getMaxSelectionIndex(). Any ides? Thanks.
class xTableModel extends AbstractTableModel{
private static String[] cols;
private Object[][] data;
public void setTableModel(Object data[][], String[] cols){
this.cols = cols;
this.data = data;
public String getColumnName(int col){
return cols[col];
public int getRowCount() {
return data.length;
public Object getValueAt(int row, int col) {
return data[row][col];
public void setValueAt(Object value,int row,int col){
data[row][col]=value;
public int getColumnCount(){
return cols.length;
class ColumnListenerModel extends DefaultListSelectionModel{
public int getMaxSelectionIndex(){}int row = table.getSelectedRow();
Object data = table.getValueAt(row, 0); -
"Pie chart in pivot view showing only the first column's results" in obiee
Hi,
In my pivot view(pie chart view+pivottable),i'm getting only the first column's result in pie chart..
I have added a column named *'A*' in rows and '*moneyspent*' in measuresfield and the '*period*' in the columnsfield in the pivot view.I'm calculating the sum of
the rows and columns..
I'm not getting the sum valueof moneyspent in the pie chart..instead i'm getting only the first column of period in the pivot table in the pie chart.
can anyone tell how can i get the sum value of pivot table in pie chart?
Thanks in advance..Hi Prash,
let me try to give you an example based on the paint sample:
Use Markets.Region, Products.Brand, 'Sales Measures'.Units
choose a pivot view to display the result: region goes into the rows-section, Brand goes into the columns-section and Units into the measures-section
In the columns-section add a total using the 'add total' at 'Measure Labels' level
the result is a total column on the right side of the pivot.
looking like this:
Units
Brands
Region Enterprise Magicolor Mccloskey Valspar Units Total
Central 1032.....
Eastern 1485......
Southern 824.....
Western 580
What I am looking for is a new column 'Units Total pct'.
If I duplicate the measure to show the values in percent, I'll get a second column per Brand (showing the absolute and percentage values) - that's what I don't want
Regards
Andy -
How do you print the numbers next to the first column
In Numbers I can't figure out how to print the numbers next to the first column to the left. Say I have 350 people on a list and I want to print the sheet with the numbers next to the people's name, how do I do that. Excel automatically does it. However, I cannot find the option to print and include the numbers from the standard Numbers worksheet. Thanks for your assistance.
In excel it is actually in the page setup dialog. under the "sheet" tab. Numbers doesn't have one table per page (excel is basically one large table of cells). So printing header and column labels doesn't really work in numbers, because those labels don't show up until you click inside the tables. If you notice when you do that they abstruct the view of everything else that might be near the edge of the table.
The other posters response is the best way to do it. you can get column Numbers (but not letters) by using the column command in an extra row at top also. Thre is a way if you really want column letters, but it ain't pretty. Let us know if you want that too.
Jason -
Making JTable columns 2- n scrollable, not the first column, how?
Id like for my JTable's first column to always be visible, and columns 2->n to be scrollable. The table also follows the sortable table model found from the swing examples...so if the user sorts any of the columns, all the other columns should sort accordingly.
is there anyway i can separate the first column with the others, so that i can put them in their own scrollpanes (first column just scrolls up/down, and 2->n can scroll either way)?I only glanced at the example at the posted link... if memory servers, the trick was to create one JTable but with two different TableModels. To link the two models, you can simply make the getValueAt method in the fixed model call the getValueAt method of the non-fixed model. It's a bit tricky for beginner, but doable.
;o)
V.V. -
Result display in the first column.
Hi all,
My report displays some amounts per fiscal periods in column. At the moment I can display the Result for all the periods in the last column, but now I'd like to display this result in the first column. Do you know how to do that?
Curent report:
FiscPer1 FiscPer2 RESULT
WBS 1 10 30 40
WBS 2 3 1 4
Wished report:
RESULT FiscPer1 FiscPer2
WBS1 40 10 30
WBS2 4 3 1
Thanks!Hello-
Go to Table display option in the designer and make your objects alignments as needed save and execute the same.
You can align the previous last column to the first coulumn( I mean rearrange the objects ) thru table display option.
Regards,
Vishwa. -
Editting the first column in cfgrid
The first column in a datagrid is the row number. How can you
either remove
it or change it to something else?
Wally Kolcz
Developer / Supportrowheaders="no"
"Wally Kolcz" <[email protected]> wrote in
message
news:efpbbh$qdm$[email protected]..
> The first column in a datagrid is the row number. How
can you either
> remove it or change it to something else?
>
> --
> Wally Kolcz
> Developer / Support
> -
Why is my ping so high in the first column only when i do a tracert?
When i do a tracert my ping is really high in the first column only on each hop and then it drops to a respectable level. Does anyone know why it is like this on my 4G LTE device? On my dsl when i do the same ping test its pretty even across on each hop. This is what im seeing when i do a ping test on my 4G LTE device.
tracert www.yahoo.com
Tracing route to ds-any-fp3-real.wa1.b.yahoo.com [98.139.183.24]
over a maximum of 30 hops:
1 9 ms 3 ms 3 ms
2 1101 ms 34 ms 38 ms 193.sub-66-174-20.myvzw.com [66.174.20.193]
3 169 ms 55 ms 52 ms 49.sub-69-83-13.myvzw.com [69.83.13.49]
4 52 ms 56 ms 54 ms 194.sub-69-83-13.myvzw.com [69.83.13.194]
5 179 ms 58 ms 57 ms 101.sub-66-174-17.myvzw.com [66.174.17.101]
6 168 ms 57 ms 60 ms TenGigE0-0-1-0.GW14.BOS4.ALTER.NET [152.179.2.97
7 181 ms 58 ms 57 ms 0.ge-0-3-0.XL3.BOS4.ALTER.NET [152.63.17.130]
8 170 ms 59 ms 58 ms 0.ae3.BR1.NYC1.ALTER.NET [152.63.18.222]
9 177 ms 67 ms 59 ms ae11.edge2.NewYork.Level3.net [4.68.62.41]
10 * * * Request timed out.
11 * * * Request timed out.
12 * * * Request timed out.
13 192 ms 49 ms 60 ms ae-4-90.edge4.NewYork1.Level3.net [4.69.155.210]
14 185 ms 51 ms 60 ms YAHOO-INC.edge4.NewYork1.Level3.net [4.28.130.82
15 380 ms 73 ms 129 ms ae-5.pat2.bfz.yahoo.com [216.115.96.67]
16 339 ms 69 ms 146 ms ae-4.msr2.bf1.yahoo.com [216.115.100.73]
17 215 ms 152 ms 80 ms xe-5-0-0.clr2-a-gdc.bf1.yahoo.com [98.139.128.11
18 289 ms 217 ms 217 ms et-17-1.fab6-1-gdc.bf1.yahoo.com [98.139.128.47]
19 187 ms 87 ms 79 ms po-14.bas2-7-prd.bf1.yahoo.com [98.139.129.227]
20 474 ms 314 ms 294 ms ir2.fp.vip.bf1.yahoo.com [98.139.183.24]
Trace complete.hi there
see you never got an answer from vzw
take it you still have the high ping or no ping in my cases
your doing better then i
seems the lte is getting bad with this problem over time as my connection times out causing half loaded web pages and lots of buffering in video playback
i have had 3 tickets in the past 3 month to try and get this fixed but they say cant find anything wrong
and noone else is having the problem here are a few things that seems to have helped me out
1 increase your TTL time till live
this tells your computer to wait a bit longer before giving up and requesting that a packet of info be resent
2 in your computers network settings and reg you can change packet size to a smaller number and add a stop bit to the packet with a time stamp on each packet back in the old days this was what v 90 modems did to get v92 speeds and did help with noisy copper wire dial up and seems to help here too
http://www.dslreports.com/drtcp
is a tool that will help you change your computer setting and reg
use drtcp and the results from this page
http://www.dslreports.com/tweaks
xp win 7 win 8 this will help. vista did it right and dynamically change these settings on the fly and all of step 2 is unnecessary
remember your original settings write them down so you can go back to them should you have problems
also make a restore point and backup your reg before tinkering with windows os
send a private message to me if you need more help or get a computer savvy friend to help you out if you need
3 if your signal noise is under 4G -100bd the lower the better, there is a way to set your android to lte only mode.
more likely to lose data and voice in weak signal areas but great if tethering or hotspotting at home
dail *#*#4636#*#* this is a back door to your android software and is open source code by android os not vzw
and will not unlock your phone voiding warranties. be warned though if you set things wrong in here
you can make more problems be very sure what you change and do one thing at a time so you remember and can dial in again and change it back should you disable something you need. fyi each time you dial in the number it resets to vzw default setting and may look like it did not save setting but it doz. till you dial in again.
good luck
ron
ps im not a vzw rep in any way other then a fellow customer not getting answers. -
How to find out the selected column in Table Control
Hi all,
How to find out the selected column in Table Control?
Thanks & Regards,
YJRHi,
Let your table control name in Screen painter be TC1.
READ TABLE TC1-COLS INTO WA_COLS (some wok area)
WITH KEY SELECTED = 'X'.
IF SY-SUBRC = 0.
CLEAR: W_DUMMY, W_COL_NAME.
SPLIT WA_COLS-SCREEN-NAME AT '-' INTO W_DUMMY
W_COL_NAME.
endif.
W_COL_NAME gives you the column name.
Hope it helps.
cheers
sharmistha
Maybe you are looking for
-
Automatic creation of Follow-up document
Hi, I have a requirement to create a sales order automatically from a quotation once the status of the quotation is changed to 'released'. Can I use any standard SAP defined actions to achieve this functionality? If there is no standard actions defin
-
ODBC 'NOW' function in prepared statement?
I'm writing a class that logs data to a ODBC datasource (using JDK 1.5). I've set up a link to a Microsoft Access database to test against. I've written a couple of prepared statements, that all work well. Now, I'm trying to add a timestamp in a colu
-
IDCS3 Windows: Finding a font style
I recently added a font style "Exp" to my Plantin family of fonts in InDesign CS3. The others all came in one package, but Plantin Exp I downloaded from another source. When I list the typefaces in InDesign from the bar at the top of the screen, 'Pla
-
I need to calculate the total weight of the BOM Components and show it in the customer fields tab of the BOM Header in Transaction code CS01, CS02 and CS03. Whenever the user enters the quantity of the BOM components in CS01 and clicks the BOM header
-
Help with usb Midi controller on brand new machine! Please!!
I just unboxed my macbook pro 13" non-retina and updated to 10.9.1, installed a few of my apps, etc. I'm having a meltdown over my midi-controller not being recognized. It is a Roland A-49 USB Midi Keyboard controller that is not powering on. It r