Hiding columns in a table?
Hi there,
I wonder if any of you know of an easy way to hide columns in a table in InDesign CS5? To further explain, i have two documents currently, one is a price guide and the other is bascially identical but without the prices, lets call that the product guide. It seems daft to have to update the two (especialy when i actually have four as i have each in two languages!) every time there is a slight change to the product listing. So, i was thinking if i have the price guide, make a PDF of that, hide the column with the prices in, and then hey presto, I've got the product guide. Seems simple but i can't seem ot find a simple way of hiding the column.
Is there such an option? Or any suggestions as to how best do it? I don't want to delete it as i will need to update this column occasionally, and i really want to avoid having lots of different InDesign documents as i have this situation for 5 different country's guides, each with a local language and english language version, making 20 in total if i keep them separate (10 if i don't, which is enough imho) - mental i know! But thats the way work want it
Cheers!
(On Mac OSX 10.6.4 and running InDesign CS5)
linziloop wrote:
Hi there,
I wonder if any of you know of an easy way to hide columns in a table in InDesign CS5? To further explain, i have two documents currently, one is a price guide and the other is bascially identical but without the prices, lets call that the product guide. It seems daft to have to update the two (especialy when i actually have four as i have each in two languages!) every time there is a slight change to the product listing. So, i was thinking if i have the price guide, make a PDF of that, hide the column with the prices in, and then hey presto, I've got the product guide. Seems simple but i can't seem ot find a simple way of hiding the column.
Is there such an option? Or any suggestions as to how best do it? I don't want to delete it as i will need to update this column occasionally, and i really want to avoid having lots of different InDesign documents as i have this situation for 5 different country's guides, each with a local language and english language version, making 20 in total if i keep them separate (10 if i don't, which is enough imho) - mental i know! But thats the way work want it
Cheers!
(On Mac OSX 10.6.4 and running InDesign CS5)
* If you experiment with some table cell settings, you can probably find a design that works when the columns are exposed, and when they're set to their minimum width - 3pt.
Setting the column width to its minimum may not conceal cell content if the cell side margins are so small as to allow content to touch the cell sides, so you may need to pay attention to the margin values. If the column has vertical rulings, you may also need to pay attention to their stroke width and color.
* Conditional text won't hide a column, but if the column is the furthest left or right, you might achieve what you want by applying a condition to the text in each cell of the column and hiding or showing it as needed. The width will be preserved, but no text will appear when hidden.
* Similar to conditionalizing the cell content, you can define a paragraph style for only the cells in the column, and redefine the character color to None or Paper to hide the content, and redefining the color to Black to show it.
* It may be possible to script a solution. I'm not familiar enough with available scripts. Inqire on the scripting forum.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices
Similar Messages
-
Dynamically Hiding Column in a Table View in VC Model
How to dynamacally hide the columns in a table view in a VC model. Through the expression in Control Property, Form element/field or table view as a whole can be made hidden, however, the individual column can not seem to be hidden.
I am using VC server version 700.8.0.1.
Any help would be much appreciated.
Kind Regards
SanjoyIn this scenario, if the source is SAP BI, you can use the webapi commands. If not, you would have to have 2 separate tables in different layers and you can show and hide those layers or UI elements...
-
Hiding columns in pivot table OBIEE 11g
Hi experts,
I am trying to create a pivot table with individual values in columns but I also need to display a grand total as values but also as percentage and as cumulative percentage.
I duplicated the measure once in the measure area, and selected display data as percentage of column, and another time using display cumulative and percentage of column.
The result is fine, but all the elements are displayed as column for the percentage and for the cumulative. Or, I only need the Grand Total Percentage and Cumulative, but I don't need all the columns for Percentage and cumulative.
I have tried to find out a way to customize the XML but nothing good.
Is there a way to display only the grand total for percentage and cumulative without having to display all the individual columns?
Any help highly appreciated.
RegardsIf I get your question correctly.. You are trying to present the grand total towards the end of the Pivot and OBIEE is displaying the totals of all the sections and then the Grand Total.
Try not to use the grand total of the sections but create a new pivot view and just display the grand total in that view.
So you will have your normal sections and then another pivot view just for the grand total.
As far as I know, there is no option to hide the individual section totals. -
Hiding column in table in smartform
HI,
Can we hide a column in a table on a specific condition?
PLease let me know.
Reagards
SandeepHi,
Here 2 options are there select based on requirement.
1. Column will hide but there empty space will display. This can be acheived by setting the condition in condition tab of the column related text in that node(table).
2.Completly hiding the cloumn and also empty space means create 2 tables table1 with 4 columns and table2 with3 columns. create alternative and put condition. if yes table1 display.if no means table2 will display.
Thanks,
Suma. -
Hiding gap in a table control - Column is invisible
Hi All,
I'm hiding a column in a table control based on a condition. My requirement is I need to remove the gap occupied by the column that is invisible.
<b><REMOVED BY MODERATOR></b>
Thanks,
Bhaskar.
Message was edited by:
Alvaro Tejada GalindoHi Bhaskar,
Based on the Condition, you can build the Field catalogue.
So that, u can restrict them at the catolog bulding level.
Regards,
Sujatha -
Hideing a Column in ALV Table which is Displaying the POWL Query data
Hi SDNers,
I want to hide a column of ALV Table which is displaying my POWL Query data in it and hideing should be based on the Role as well. i.e few of the role the column shoudl be hidden and few of the roles should have the Column visible.
waiting for the Valueble Answers.
Thanks & Regards,
GovinduHai Kris,
I took help from ur link and i declared a global attribute request_number.
and i created an event handler ON_ALV_INSERT and did the follwing coding for giving default value wen ever am inserting new row.
FIELD-SYMBOLS: <wa_row> LIKE LINE OF r_param->t_inserted_rows.
DATA bill_details TYPE REF TO zdom_bill_detail.
LOOP AT r_param->t_inserted_rows ASSIGNING <wa_row>.
bill_details ?= <wa_row>-r_value.
IF bill_details->REQ_NUMBER IS INITIAL.
DATA lo_nd_bill_detail TYPE REF TO if_wd_context_node.
DATA lo_el_bill_detail TYPE REF TO if_wd_context_element.
DATA ls_bill_detail TYPE wd_this->Element_bill_detail.
navigate from <CONTEXT> to <BILL_DETAIL> via lead selection
lo_nd_bill_detail = wd_context->get_child_node( name = wd_this->wdctx_bill_detail ).
lo_el_bill_detail = lo_nd_bill_detail->get_element( index = <wa_row>-index ).
lo_el_bill_detail->set_attribute(
EXPORTING
name = 'REQ_NUMBER'
value = wd_comp_controller->request_number
Wen am setting the value of wd_comp_controller->request_number to my context attribute am getting NULL object ref error.
lo_el_bill_detail->set_attribute(
name = `REQ_NUMBER`
value = wd_comp_controller->request_number ).
Pls give some suggestions,
Thanks in Advance,
Nalla.B -
Hiding the columns in data table in jsf
Hi Guys,
I have stuck one situation in my project . i.e i want to hide the columns in Data table in jsf.
Please response this mail.
Thanks
NarneSee this...
[http://forum.java.sun.com/thread.jspa?threadID=5119514&messageID=9938606] -
Hiding columns dynamically in a table control
Hello all,
Based on the selected value in a dropdown box, I want to hide some columns in a table control. The table control is generated using the wizard from a work area and itab in the program. I have tried things like
loop at screen.
if screen-name = <work area>-<field name>.
screen-invisible = 1.
modify screen.
endif.
endloop.
I have also tried screen-active = 0, but it is not working. Is there any other way to achieve this?
Thanks in advance.
Regards,
Nithyahi,
u cant make it invisible but u can make it disable by making one module in PBO...
MODULE init_screen OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'ITAB_DET-BILL_NO' AND zform_track_mast-comp_code = '1000'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE. " init_screen OUTPUT
reward if usefull... -
Hi folks,
I'm developing a program, one part of which should show in a table the information it got from the DB. It works just fine. The problem is - the user doesn't need to see all the columns (some of them are even unknown and are for intern use only). How could I hide those columns? Or should I create another TableModel and show it instead?
Thanks in advanceAs a new member you should learn how to search the forum before asking a question.
A simple search would use "hiding column jtable" as the keywords as an example. -
How does Toggle Visible for a Column in a Table work ?
Hi All,
I have a question for you.
Using version 11.1.1.7:
I was playing with a use case where I need to show and hide columns in an af:table component.
I want to do this clientside using javascript.
Guess what: It works, however, it only works for hiding columns ?!
Initially I have client component = true and visible is true.
See javascript below.
When I call hideColumn, the component is found and hidden after calling.
When I call showColumns (after it is hidden) the component cannot be found anymore.
function showColumn(evt){
var col = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9") ;
col.setVisible(true);
function hideColumn(evt){
var col = AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9") ;
col.setVisible(false);
}I checked and when the columns visible property is initially false, the column is not found by AdfPage.PAGE.findComponentByAbsoluteId("pt1:pc1:t1:c9"), which means it is not available ?!
It looks like the visible property for an af:column works slightly different then for other components such as buttons.
Also makes me wonder how the panelCollection component shows and hides columns. Doesn't that component do exactly the same ?
Thanks.Luc,
couldn't find a hint in the sources (maybe didn't spend enough time). However, one reason for this behavior would be if the hidden column had no client component created (in which case it only exists as hidden HTML). The work around I think would be to use a serverListener on the table and to pass the columns to show/hide as the payload for server side show/hide
Frank -
Hi my name is vishal
For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using iTextSharp.text;
using iTextSharp.text.pdf;
using System.Diagnostics;
using System.IO;
namespace DRRS_CSharp
public partial class frmPDF : Form
public frmPDF()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
Document doc = new Document(PageSize.A4.Rotate());
var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(6);
table.TotalWidth =530f;
table.LockedWidth = true;
PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
cell.Colspan = 6;
cell.HorizontalAlignment = 0;
table.AddCell(cell);
Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
para.Alignment = Element.ALIGN_CENTER;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(105f, 105f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("Reprocessing Date");
table.AddCell("Patient Name");
table.AddCell("Dialyzer(Manufacturer,Size)");
table.AddCell("No.of Reuse");
table.AddCell("Verification");
table.AddCell("DialyzerID");
while (dr.Read())
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
table.AddCell("@count".ToString());
table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
table.AddCell(dr[0].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(table);
doc.Close();
System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
this.Close();
The above code executes well with no problem at all!
As you can see the file to which i create and save and open my pdf report is
AssignedDialyzer.pdf.
The column headers of table in pdf report from c# windows forms using iTextSharp are
"Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
"DialyzerID".
However the problem i am facing is after execution and opening of document is my
column headers in table in pdf report from
c# and datas in it all appear in bold.
I have browsed through net regarding to solve this problem but with no success.
What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
vb6,adodb with ms access using iTextSharp?
I have approached Sound Forge.Net for help but with no success.
I hope anyone/someone truly understands what i am trying to ask!
I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
I hope i get a reply in terms of solving this problem.
vishalHi,
About iTextSharp component issue , I think this case is off-topic in here.
I suggest you consulting to compenent provider.
http://sourceforge.net/projects/itextsharp/
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Unable to see a column of a table in portal for a particular User
Hi,
A particular user is unable to see a particular column of a table in the portal . The application is developed in Webdynpro ABAP. The table contains two columns. Both the columns contain text type fields. What appears to the user is that the left column has disappeared and the right hand column has shifted to the left.
This is occuring for a particular user only. We have checked in our development and quality systems but we are unable to replicate the issue. Please help.
Thanks and regards,
Satya.Hi Vikas.
You can use BAPI in LSMW to craete Material or You can use direct input method. Both methods as follows below:
Using BAPI in LSMW:
First maintain IDOC Inbound Processing steps by giving PORT and Partner Type and Partner Numberby clicking 'settings' icon in menu path in LSMW Screen.
Adn then execute LSMW and maintain the values as below in the first step.
BusinessObject Method(BAPI)
Business Object BUS1001006 Standard material
Method SAVEDATA Create and change materia
Message Type MATMAS_BAPI Create and change materia
Basic Type MATMAS_BAPI03 Create and Change Materia.
For the selecting of views, you can maintain fields for all views(From Basic view to costing view) in your excel and populate with 'X' in respective fields for activating views.
In the 6th step (Maintain field mapping and conversion rules). you can map those fields for views which you want to activate since we have all views are in the standard structure.
Using Direct Input Method:
Standard Batch/Direct Input
Object 0020 Material master
Method 0000
Program Name RMDATIND
Program Type D Direct Input
For the selecting of views, you can maintain fields for all views(From Basic view to costing view) in your excel and populate with 'X' in respective fields for activating views.
In the 6th step (Maintain field mapping and conversion rules). you can map those fields for views which you want to activate since we have all views are in the standard structure. -
Specific Model not showing rows in a table in a column of a table
Hello,
Fairly simple issue here (I think):
I have a table bound to a global model and its rows bound to "/items"
I then have a column within that table which has a valuehelpfield that pops open a dialog with a table.
This tables rows inside the dialog are bound to a temp model. Now I know this temp model has the correct data and format and I do not get a "no data" messages when I bind it's rows to the node on the temp model, and to double check that I tried binding it to an incorrect node and it did say "no data" and I tripple checked by getting the jsonstring of the model and it's exactly how it should be.
Here is the code:
oTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({
text: "Shop",
required: true
width: "200px",
template: new sap.ui.commons.ValueHelpField({
value:"{shopdesc}",
valueHelpRequest: function(oEvent){
var locModel = oTable.getModel();
var rowContextPath = oEvent.getSource().getBindingContext().getPath();
var oRowObj = oEvent.getSource().getBindingContext().getObject();
var oDataOld = sap.ui.getCore().getModel().getData();
var tempModel = new myJSONModel;
tempModel.setData({
shops: []
sap.ui.getCore().setModel(tempModel, "tempModel");
tempModel = sap.ui.getCore().getModel('tempModel');
d = tempModel.getData();
arr = d.shops;
var shops = oDataOld.shops;
for (var i = 0; i < shops.length; i++) {
if (shops[i].area == oRowObj.area) {
arr.push(shops[i]);
var oValueHelpDialog = new sap.ui.commons.Dialog(
{ modal: true,
title: "Select a Shop",
closed: function (oEvent) {
var oContext = oTableJobs.getContextByIndex(oTableJobs.getSelectedIndex());
if (oContext) {
var oSel = oContext.getModel().getProperty(oContext.getPath());
locModel.setProperty(rowContextPath + "/shop", oSel["shop"]);
locModel.setProperty(rowContextPath + "/shopdesc", oSel["shopdesc"]);
var oTableJobs = new sap.ui.table.Table({
visibleRowCount: 15,
firstVisibleRow: 1,
selectionMode: sap.ui.table.SelectionMode.Single,
width : "300px"
var oOkButton = new sap.ui.commons.Button({
text: "OK",
press: function (oEvent) {
oEvent.getSource().getParent().close();
oTableJobs.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "shop"}),
template: new sap.ui.commons.TextField().bindProperty("value", "shop"),
editable:false,
width: "100px"
oTableJobs.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "Shop Description"}),
template: new sap.ui.commons.TextField().bindProperty("value", "shopdesc"),
editable:false,
width: "300px"
var jsonString = tempModel.getJSON();
alert(jsonString);
oTableJobs.bindRows("tempModel>/shops");
oValueHelpDialog.addButton(oOkButton);
oValueHelpDialog.addContent(oTableJobs);
oValueHelpDialog.open();
var oModel = sap.ui.getCore().getModel();
oTable.setModel(oModel);
oTable.bindRows("/items");
Any help would be appreciated, I can't see what's wrong here, all seems fine to me! Thanks!HI Bob
I briefly scan thru your code and spotted one common issue. When we are binding property, we need to include the model name. e.g.
template: new sap.ui.commons.TextField().bindProperty("value", "shop"),
should be
template: new sap.ui.commons.TextField().bindProperty("value", "tempModel>shop"),
-D -
Creating a radio button group in a column of a table in Web Dynpro
Hi,
I want to put a radio button group in a column of a table in Webdynpro. I added a column to a web dynpro view and then inserted a tableCellEditor for that column.. But I cannot define it as Radio Button group. I want the user to be able to select 3 statuses using this group.
Does anyone have a solution for this??
Thanks in advance...
NakulHi,
You wont be able create three RB in one cell.
Create as many column as the no of options is.Here it is 3.
Create 4 attributes inside the node , option 1,option 2,option 3 and selectedoption.
Map each RB s keytoSelect to option 1,2,3. Map all the RBs selectedKey atribute to selectedoption.
Now selection for each row will be stored in the selected option.
Regards
Bharathwaj -
BSP: How to create check box in a column of a Table View
Hi All,
I have a table view in Web IC scenario. my requirement is to display check box in one of the column of the table view.. so that i can select multiple lines from the table and do some calculations!.
Anybody have any hint/clue
Thanks in advance,
sudeep v d.Hi,
This can be achieved by using a Table iterator.
Please check the standard examples for this.
Thanks,
Rashmi.
Maybe you are looking for
-
Taskflow Method call receiving null parameter.
Hi all, I am using 11.1.1.6. I have created in my application an extra project which is pure Java objects and exposed a master class as a POJO DC. In my application, I have a taskflow where I have dragged and dropped one method from my POJO DC - 2 of
-
I can't open Camera Raw from Bridge
Why is it that I can not open CR from Bridge. I can see it in Plug ins. I don't see any reference to CR in Preferences. Why is that?
-
My pop-up menu does not light up when I right click
I have to scroll over the words (with the mouse) for them to display (close, copy, cut, move, delete, restore, size, maximize, minimize, etc) which takes longer to perform the particular task. This is happening when I am in Firefox as well as other p
-
HT1349 I have an HP computer, where do I find the serial number of my iTunes library?
Hi, I have an hp computer. I had a regular computer before, which no longer works. I purchased many songs. I only have 2 authorized computers for my iTunes account. Why do I not see all my purchases? I baught my music. Now my issue is I don't know ho
-
My ipad went dead and i put on charge and it still didnt turn on what should i do
Please help