Need to apply dragging event on Columns and Rows on TableLayoutPanel during runtime in user defined IDE

Environment: -
OS: - Windows 7 32 bit
IDE: - Visual Studio IDE 2008
Language: - VB .Net
Application Type: - Exe Application
Application Name: - Designer.exe
Requirement Type: -
Critical
Product Description: - We have exe project, which creates
Designer.exe.  Designer.exe is an IDE for designing form on run time. We received a requirement from client to add another component on Panel. In Panel we have already added following components like (Text
Box, Label, Combo Box, List, Grid etc)
Now we had to add another component “TableLayoutPanel”, and we have added it properly in it, and tried to provide required properties of TableLayoutPanel
in Designer.exe.
Requirement Description: -
We have stuck at a point, where we need inputs for further development. We are not able to drag rows and columns for adjusting Table layout on run time.
We need to know, what kind of event, we will have to write, so that we can hold particular row or column and drag it to the required position in Table Layout Panel.
E.g.

Here is the example of how you can do this.  Try it in a new Form project first by following these steps.
 First create your Form project and on the VB menu click (Project) and select (Add Class).  Name the class (TableLayoutPanelEx.vb). Now copy the class code below and paste it into the new class you just added.
Public Class TableLayoutPanelEx
Inherits TableLayoutPanel
Private Const WM_NCHITTEST As Integer = &H84
Private Const WM_MOUSEMOVE As Integer = &H200
Private Const WM_LBUTTONDOWN As Integer = &H201
Private Const WM_LBUTTONUP As Integer = &H202
Private Const MK_LBUTTON As Integer = &H1
Private VBorders As New List(Of Integer)
Private HBorders As New List(Of Integer)
Private selColumn As Integer = -1
Private selRow As Integer = -1
Public Sub New()
Me.DoubleBuffered = True
Me.CellBorderStyle = TableLayoutPanelCellBorderStyle.Single
End Sub
Protected Overrides Sub OnHandleCreated(ByVal e As System.EventArgs)
MyBase.OnHandleCreated(e)
If Not Me.DesignMode Then ResetSizeAndSizeTypes()
End Sub
Public Shadows Property ColumnCount() As Integer
Get
Return MyBase.ColumnCount
End Get
Set(ByVal value As Integer)
MyBase.ColumnCount = value
If Me.Created And Not Me.DesignMode Then ResetSizeAndSizeTypes()
End Set
End Property
Public Shadows Property RowCount() As Integer
Get
Return MyBase.RowCount
End Get
Set(ByVal value As Integer)
MyBase.RowCount = value
If Me.Created And Not Me.DesignMode Then ResetSizeAndSizeTypes()
End Set
End Property
Public Sub ResetSizeAndSizeTypes()
Dim cW As Single = CSng((Me.ClientSize.Width \ Me.GetColumnWidths.Length) - 1)
For c As Integer = 0 To Me.GetColumnWidths.Length - 1
Me.ColumnStyles(c).SizeType = SizeType.Absolute
Me.ColumnStyles(c).Width = cW
Next
Dim cH As Single = CSng((Me.ClientSize.Height \ Me.GetRowHeights.Length) - 1)
For r As Integer = 0 To Me.GetRowHeights.Length - 1
Me.RowStyles(r).SizeType = SizeType.Absolute
Me.RowStyles(r).Height = cH
Next
End Sub
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
MyBase.WndProc(m)
If Me.Created And Not Me.Disposing Then
If m.Msg = WM_NCHITTEST Then
Dim loc As Point = Me.PointToClient(MousePosition)
VBorders.Clear()
HBorders.Clear()
If Me.ColumnCount > 1 Then
For w As Integer = 0 To Me.GetColumnWidths.Length - 2
If w = 0 Then
VBorders.Add(Me.GetColumnWidths(w))
Else
VBorders.Add(VBorders(VBorders.Count - 1) + Me.GetColumnWidths(w))
End If
Next
End If
If Me.RowCount > 1 Then
For h As Integer = 0 To Me.GetRowHeights.Length - 2
If h = 0 Then
HBorders.Add(Me.GetRowHeights(h))
Else
HBorders.Add(HBorders(HBorders.Count - 1) + Me.GetRowHeights(h))
End If
Next
End If
Dim onV As Boolean = (VBorders.Contains(loc.X) Or VBorders.Contains(loc.X - 1) Or VBorders.Contains(loc.X + 1))
Dim onH As Boolean = (HBorders.Contains(loc.Y) Or HBorders.Contains(loc.Y - 1) Or HBorders.Contains(loc.Y + 1))
If onV And onH Then
Me.Cursor = Cursors.SizeAll
ElseIf onV Then
Me.Cursor = Cursors.VSplit
ElseIf onH Then
Me.Cursor = Cursors.HSplit
Else
Me.Cursor = Cursors.Default
End If
ElseIf m.Msg = WM_LBUTTONDOWN And Me.Cursor <> Cursors.Default Then
Dim loc As Point = Me.PointToClient(MousePosition)
selColumn = -1
selRow = -1
For c As Integer = 0 To VBorders.Count - 1
If VBorders(c) >= loc.X - 1 And VBorders(c) <= loc.X + 1 Then
selColumn = c
Exit For
End If
Next
For r As Integer = 0 To HBorders.Count - 1
If HBorders(r) >= loc.Y - 1 And HBorders(r) <= loc.Y + 1 Then
selRow = r
Exit For
End If
Next
ElseIf m.Msg = WM_MOUSEMOVE And m.WParam.ToInt32 = MK_LBUTTON Then
Dim loc As Point = Me.PointToClient(MousePosition)
If Me.Cursor <> Cursors.Default Then
If selRow > -1 And loc.Y >= 1 And loc.Y <= Me.ClientSize.Height - 2 Then
Me.RowStyles(selRow).SizeType = SizeType.Absolute
Dim ref As Single = loc.Y - Me.RowStyles(selRow).Height
If selRow > 0 Then ref -= HBorders(selRow - 1)
If Me.RowStyles(selRow).Height + ref > 0 Then
If Me.RowCount > selRow + 1 Then
If Me.RowStyles(selRow + 1).Height - ref < 1 Then Exit Sub
Me.RowStyles(selRow + 1).Height -= ref
End If
Me.RowStyles(selRow).Height += ref
End If
End If
If selColumn > -1 And loc.X >= 1 And loc.X <= Me.ClientSize.Width - 2 Then
Me.ColumnStyles(selColumn).SizeType = SizeType.Absolute
Dim ref As Single = loc.X - Me.ColumnStyles(selColumn).Width
If selColumn > 0 Then ref -= VBorders(selColumn - 1)
If Me.ColumnStyles(selColumn).Width + ref > 0 Then
If Me.ColumnCount > selColumn + 1 Then
If Me.ColumnStyles(selColumn + 1).Width - ref < 1 Then Exit Sub
Me.ColumnStyles(selColumn + 1).Width -= ref
End If
Me.ColumnStyles(selColumn).Width += ref
End If
End If
End If
ElseIf m.Msg = WM_LBUTTONUP Then
selColumn = -1
selRow = -1
End If
End If
End Sub
End Class
 Now you need to build the project.  Go to the VB menu and click (Build) and then select (Build
NameOfYourProject).   After it builds you can go to the Form`s [Design] tab and drag one from the top of the Toolbox onto your Form. 
IMPORTANT - Then set the RowCount and
ColumnCount to the maximum number of rows and columns you want to let the user add. 
That has to be done at design time.
 Next you need to add 2 NumericUpDown controls to the Form and name them (NUD_Rows) and (NUD_Columns).  Then you can add the code below to the Form`s code.
Public Class Form1
Public Sub New()
InitializeComponent()
'Set the minimum of the 2 NumericUpDown controls for the rows and columns to 1
'Set the maximum of the 2 NumericUpDown controls to the number of rows and columns you have set in the [Design] tab properties
NUD_Rows.Minimum = 1
NUD_Rows.Maximum = TableLayoutPanelEx1.RowCount
NUD_Columns.Minimum = 1
NUD_Columns.Maximum = TableLayoutPanelEx1.ColumnCount
'Set to the rows and columns counts back to what you want for the default
TableLayoutPanelEx1.ColumnCount = 4
TableLayoutPanelEx1.RowCount = 4
'Set the 2 NumericUpDown control values to the current count of rows and columns
NUD_Rows.Value = TableLayoutPanelEx1.RowCount
NUD_Columns.Value = TableLayoutPanelEx1.ColumnCount
End Sub
Private Sub NUD_Rows_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NUD_Rows.ValueChanged
If Me.Created Then TableLayoutPanelEx1.RowCount = CInt(NUD_Rows.Value)
End Sub
Private Sub NUD_Columns_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NUD_Columns.ValueChanged
If Me.Created Then TableLayoutPanelEx1.ColumnCount = CInt(NUD_Columns.Value)
End Sub
End Class
 You can now run the app and test it out.  You should be able to set the number of rows and columns with the 2 NumericUpDown controls and adjust the widths and heights of them with the mouse just like i did in the animated gif image i posted in
my first post.
If you say it can`t be done then i`ll try it

Similar Messages

  • Transpose columns and rows in numbers

    I need to transpose columns and rows in Numbers and I do not want to write script to do it.  Is there an easier way?

    Give me a proper transpose and I will uninstall Excel and never look back.
    Ok, here's a proper transpose, that can be placed in an Automator Service so it becomes a simple menu pick as below (and can also be assigned a keyboard shortcut).
    To use it (this is slightly different from Excel) you select the range you want to transpose, choose Copy Transpose, click a destination cell in an existing table in the current document or another document, and command-v (Edit > Paste) or option-shift-command-v (Edit > Paste and Match Style).
    The one-time setup is as follows.  In Automator choose File > New > Service,  drag a Run AppleScript action from the left into the right pane, choose 'No Input' for 'Services receives selected' and 'Numbers' for 'in'. Then paste the following into the Run AppleScript action, replacing all text already there by default:
    --Transpose - select range, run, paste transposed values where wanted
    try
              tell application "Numbers" to tell front document to tell active sheet
                        set selected_table to first table whose class of selection range is range
                        tell selected_table
                                  set my_selection to the selection range
                                  set first_col to address of first column of my_selection
                                  set last_col to address of last column of my_selection
                                  set first_row to address of first row of my_selection
                                  set last_row to address of last row of my_selection
                                  set str to ""
                                  repeat with i from first_col to last_col
                                            repeat with j from first_row to last_row
                                                      set str to str & (value of cell j of column i of selected_table) & tab
                                            end repeat
                                            set str to str & return -- add line return after row
                                  end repeat
                        end tell
              end tell
      set the clipboard to str
              display notification "Ready to paste transposed values" with title "Numbers"
    on error
              display dialog "Select a range first and then try again"
    end try
    --end script
    Hit the compile "hammer" and the script should indent properly. Then save the service with the name you want to appear in your menu, and it will thereafter be available via the Services menu (and keyboard shortcut, if you set one up in System Preferences > Keyboard > Shortcuts > Services).
    That's it. Less then five minutes' one-time set-up work and you've got a menu pick for a transpose functionality that is as convenient as Excel's.
    SG

  • How to enter a data into the specified column and row in a created table

    Hi,
    I want to enter some data to specified column and row in a already created table. Please let me know how to do this.
    Regards
    Shivakumar Singh

    A table is just a 2D array of strings. Keep it in a shift register and use "replace array element" to modify the desired entry programmatically.
    If you want to modify it manually and directly from the front panel, make it into a control and type directly into the desired element. (In this case your program would need to write to it using a local variable).
    Atttached is a simple example in LabVIEW 7.0 that shows both possibilities.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ChangeTableEntries.vi ‏41 KB

  • How to get the current selected column and row

    Hi,
    A difficult one, how do i know which column (and row would also be nice) of a JTable is selected?
    e.g.
    I have a JButton which is called "Edit" when i select a cell in the JTable and click the button "Edit" a new window must be visible as a form where the user can edit the a part of a row.
    Then the column which was selected in the JTable must be given (so i need to know current column) and then i want the TextField (the one needed to be edited) be active with requestFocus(). So it would be
    pricetextfield.requestFocus();
    Problem now is that i have to click every time in the window the JTextField which was selected in the JTable. I have chosen for this way of editing because my application is multi-user and it would be too difficult for me when everybody did editing directly (catch signals, reload data, etc.).
    My question is how do I know the current column and the current row in a JTable?

    I'm not sure what your mean by the "current" row or column, but the following utility methods return
    which row and column have focus within the JTable.
    public static int getFocusRow(JTable table) {
        return table.getSelectionModel().getLeadSelectionIndex();
    public static int getFocusColumn(JTable table) {
        return table.getColumnModel().getSelectionModel().getLeadSelectionIndex();
    }

  • Read words from text file by delimiter as columns and rows

    Hi All,
    I need your help as i have a problem with reading string by delimiter. i have used various tech in java, but i can not get the result as expected.
    Please help me to get the string from text file and write into excel . i have used a text file.
    problem
    get the below as string by delimiter
    OI.ID||'|'||OI.IDSIEBEL||'|'||OI.IDTGU||'|'||OI.WORKTYPE||'|'||OI.UTR_FK
    read the below as string by delimiter
    "50381|TEST_7.15.2.2|09913043548|Attivazione|07-SEP-10
    now i need to write the above into excel file as columns and rows.
    there are 5 columns and each corresponding values
    the outut excel should be
    OI.ID OI.IDSIEBEL OI.IDSIEBEL OI.WORKTYPE OI.UTR_FK
    50381 TEST_7.15.2.2 09913043548 Attivazione 07-SEP-10
    i tried in diffrerent techinq but not able to get the resule. pls help me
    Thanks,
    Jasmin
    Edited by: user13836688 on Jan 22, 2011 8:13 PM

    First of all, when posting code, put it between two tags.
    Second of all, the pipe is a special character in regex, so you need to escape it as
    .split("\ \|");
    Erh. So 2 backslashes before the pipe character. Stupid forum won't post it.
    Edited by: Kayaman on Jan 24, 2011 9:35 AM
    Edited by: Kayaman on Jan 24, 2011 9:35 AM
    Edited by: Kayaman on Jan 24, 2011 9:36 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Creating even columns and rows in flash

    I need to create a grid in flash using the drawing tools. The
    grid has multiple (10+) columns and rows. Other than using the
    ruler and guides is there a way to ensure even spacing with columns
    and rows?

    Create the lines for the columns and locate the two end lines
    where they need to be using the Properties panel X positioning.
    Then, with the remaining lines placed between the two end lines,
    select all the lines and use the align tool to space them evenly.
    Do similarly for the row lines, but on a separate layer. You can
    move them to the column layer afterwards.

  • Switch columns and rows in SSRS

    Hi,
    I have a report with static columns that looks something like this:
    Date                     
    Column 1            
    Column2             
    Column30
    December 1      
       xxx                     
        xxx                    
        xxx
    December 2        
     xxx                     
        xxx                    
        xxx
    December 31      
    xxx                      
        xxx                    
        xxx
     It is based on SP that produces a temporary table exactly the same way as the report output (my Dec
    1 to 31 rows are details that are precalculated within SP).
    I need to switch columns and rows as my report is getting too wide.
    Does anyone know how it is done in SSRS 2005 (with SQL 2005 data source) without re-writing my SP?
    Thank you in advance!

    Thank you for your reply Jason.
    Unfortunately I do not have tablix within SSRS 2005; I only have matrix and table. For the original report I am using table as it displays data exactly the way it
    is passed from the SP. You cannot switch columns and rows within the table. I tried matrix, but it didn’t work either… Is there any work around that you know of?
    Thanks again!
    Lana

  • Excel tables... columns and row formatting after I update the indesign page

    When my excel table gets updated in indesign I lose formatting (hight/wide) for the columns&rows. There are 26 columns and each one is a difference size. Do I have to formatting (hight&wide) each column and row every time the excel table is updated?

    We have many publications with statistical tables, which are done in excel. We want to try to do some publications with only tables and do it in-house. The problem is when we place the table in indesign and finish formatting the table. We will get a updated table that needs to be updated in indesign. But when we do we update we lose all of the indesign formatting. Fixing the fonts, type size, etc is easy but how do we get back the all column widths.

  • Can I paste and keep the same columns and rows?

    Paste problems. I regularly download data from the Transport for London, Oystercard website. When I used Windows I could highlight and copy on their webpage (displayed in columns and rows) and when I pasted into Excel it pasted the data in the same format (columns and rows). With iPages when I try this it pastes everything into a single downwards column. Paste and Match style does not seem to alter this just the font etc. Am I able to paste in iPages in the same format as I copy.

    I'm guessing you're using Safari to access the web site. The problem is with Safari, not Pages (no "i") or Numbers. Safari just doesn't "understand" tables in web pages & puts lots of spaces and/or returns instead of the needed tabs. I long since gave up & use Camino or FireFox for copying the tables to Numbers or any other program I want the data separated by tabs. There are some web sites, Discover Card is one, that appear to have tables but the data doesn't copy as such.

  • Highlighting columns and rows

    Hello,
    We were wondering if anyone has some suggestions on the following problem:
    A JTable is created and populated with zeros (0's) and ones (1's). We need to search through each cell of the JTable and find where the 1's are located. Once found, we need to highlight the entire column and row in which the 1 is located. How can highlighting be done? What we mean by highlighting is to set a particular color to the row and column. Can anyone provide a code snippet?
    Thanks!

    My example in this thread might give you some ideas:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=397802

  • Freeze columns and rows easily

    I am new to numbers and although I had some difficulties, I have yet to freeze columns and rows in a simple way as in excel. I need to find a tool to focus titles without merging cells, this is something like "Center Across Selection". There is this tool? How I can actually freeze columns and rows easily?

    Numbers automatically repeats the column headers when you are in "Page View".  To enable page view select the menu item "View > Show Print View".
    There is no center across selection.  You can add a text box which you place in front of your table that is as wide as the group of cells you wish to centered on, with the text formatted so it is centered.
    I left the text box above the table, but you should move on top of like:

  • How to fix skewed table columns and rows after re-import XML

    My question is regarding XML Import in InDesign CS3.
    I have a XML that has a table of 5 columns and 5 rows, when I import it into InDesign, the table shows up fine with 5 columns and 5 rows. However when I revise my table to have an additional column, and re-import the XML file, the table gets updated, but instead of with an additional column, it gets 'appended' with an additional row instead (InDesign seems to blindly replace each cell from left to right, top to bottom, and ends up with 6 rows instead). The XML file specifies the number of columns and rows (5 and 5 before, 5 and 6 after), why doesn't InDesign recognize it and automatically add a new column when I re-import the file?  Is this problem fixed in CS5.5? Is there a script to fix this?
    Here is an example of my old XML vs new XML:
    Old:
    <frame5>
    <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="5" aid:tcols="5">
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1"></Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2006</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2005</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2004</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2003</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Stores at beginning of period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">846</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">805</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">753</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">678</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Stores opened during the period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">36</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">50</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">59</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">79</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Stores closed during the period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">13</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">9</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">7</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Total stores at end of period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">869</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">846</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">805</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">753</Cell>
    </Table>
    </frame5>
    New:
    <frame5>
    <Table xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/"
    xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/" aid:table="table" aid:trows="5" aid:tcols="6">
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1"></Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2007</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2006</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2005</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2004</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">2003</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Stores at beginning of period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">123</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">846</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">805</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">753</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">678</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Stores opened during the period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">456</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">36</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">50</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">59</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">79</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Stores closed during the period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">789</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">13</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">9</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">7</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">4</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">Total stores at end of period</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">1368</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">869</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">846</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">805</Cell>
    <Cell aid:table="cell" aid:crows="1" aid:ccols="1">753</Cell>
    </Table>
    </frame5>

    What I mean is, right now there is a "workaround" which requires a user to manually add an extra column before re-importing the XML (with an extra column), otherwise the results get skewed. If by providing a script we can simply ask the user to "run" it, it would be a more "acceptable" solution.  
    Right. So, one solution would be to use Convert Text to Tables. If you find that works for you, then you can script it.
    That's why I asked you...
    Of course if nothing is required from the user other than simply re-importing, then that would be the best solution.
    Well, one could imagine a script that was attached to the re-import command, or to the link update notification, but probably the first step is to get something that works reasonably well without automating it completely. Especially because triggers to run scripts silently can introduce hard-to-debug problems.
    Sure we can switch to use "CALS table and see if this works. The question is, why should we need to? In the 2nd XML there is clearly a different "aid:tcols" value, and yet InDesign seems to ignore it and assume the same # of columns? This sounds like an Indesign bug, can someone confirm? Is there any plans to fix this?
    Not to be snarky, but do you want it to work or not? There are the tools you have and the tools you wish you had, and you can't really do much with the ones you wish you had. I'm kind of assuming you are looking for a solution today, not a solution in 2013.
    Yes,  I believe two of us have confirmed this appears to be a bug.
    Plans to fix? Well, we can't really tell you. You could try asking Adobe, but that's not easy information to get out. But you can certainly open a support case at http://adobe.com/go/supportportal and ask. It's not like we have special information here...
    But you're probably better off filing a bug first, in that same fashion.
    But let's assume no one had filed the bug. CS6 is expected in the March/April 2012 timeframe. That means that they're probably just putting the finishing touches on it right now, and it's going to be very difficult to fix things in it now. So then the earliest you'd likely get it fixed in CS6.5/CS7/whatever which presumably comes out by 2Q2013, and that's assuming Adobe decides to fix it...
    I also can't find much documentation on how to update my table to a "CALS table", any examples?
    Try this thread:
    Re: Importing a CALS table into InDesign CS3

  • Lock first column and row of a grid so they don't scroll of the screen

    Hello,
    In a flex app we use a grid with repeaters to build it dynamically depending on a datafeed. But we need the first row and column to stay always on the screen. Any ideas on how to do this ? Did a search for an example but couldn't find anything like it.
    I know it exists for a datagrid, but can't find any similar for a grid...
    http://flexonblog.wordpress.com/2008/04/22/lock-columns-and-rows-in-datagrid-for-visibilit y/
    Thanks for any ideas!
    Frank

    Doesn't exist for Grid container.  You might just remove the first items from the dataProvider and place them outside the Grid.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • I use "element 12" and want  like in the old PS version due Automating and Contact  II upload multiple filesand print them with any columns and rows on the same page . How does it work?

    I use "element 12" and want  like in the old PS version due Automating and Contact  II upload multiple filesand print them with any columns and rows on the same page . How does it work?

    Can you supply a link?

  • Can we hide the lines between the columns and rows of an alv in wd abap

    HI all ,
      I know that we can colour cell/column/row in an alv in wd abap.
       but, can we hide the lines between the columns and rows of an alv in wd abap.
         i have checked this link [hiding lines b/n rows and columns of an  alv|http://help.sap.com/saphelp_nw04/helpdata/en/91/e7eb40c4f8712ae10000000a155106/content.htm]
         but didn't  understand, can please anybody provide some example or any material..? it will be very helpful.
                                                                         THANK  YOU.
    Edited by: arfat111 on Feb 15, 2010 7:05 AM

    Code some like this in the WDDOINIT method of your view which defines the ALV component as used component.
    instansiate the ALV component
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage = wd_this->wd_cpuse_usage_alv().
    if lo_cmp_usage->has_active_component() is initial.
       lo_cmp_usage->create_component().
    endif.
    data lo_interfacecontroller type ref to iwci_salv_wd_table.
    lo_interfacecontroller = wd_this->wd_cpifc_usage_alv().
    data lo_value type ref to cl_salv_wd_config_table.
    lo_value = lo_interfacecontroller->get_model().
    hide the grid lines
    lo_value->if_salv_wd_table_settings~SET_GRID_MODE( value = '01' ).
    Thanks,
    Abhishek

Maybe you are looking for

  • How can I dynamically center an image in Crystal Reports?

    Hi! I'm using Visual Studio 2010, SQL Server 2008 R2 and Crystal Reports 13_0_11. I have a database full of images type image in SQL Server. Every image has diferent width.  I create a report with Crystal Reports and a Dataset and does everything tha

  • Lost Photos in Photoshop Album Starter Edition 3.2

    My email stated that my photos were transfered to Revel. Only one photo switched. The rest are stuck at Adobe Photoshop Album starter edition 3.2. I can see my photos are sitting there but are stuck behind the product registeration looking for a prod

  • Problem with a rented movie in Apple TV

    I rented a movie in my AppleTV, after a big loading time, by mistake I stopped the the loading. Now I only get the "thinking" disc and cannot confirm the rent. What do I do to get the movie back?

  • Change Document - Block Invoice for Payment - BAPI

    Hello All, I have the requirement to block an invoice for payment through the Portal. In FB02 transaction, we can select an item and set the "Payment Block" indicator to B (blocked) for instance. I would like to know if exists a BAPI that allows this

  • Number of posted documents

    Hi All, Simple question. Do you know about any standard report showing number of documents per document type? Thanks! Jan