Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
560
How to add a custom Header over the Grid?
posted

Hello, in my DataPresenter i have a grid with many columns. My next step is to add a custom Header over a specific column. For example over the column  Item there must be placed some Controls, like Textboxes. The reason why i must use this with the grid is, when i resize the column, all the textbox controls must depends on the column width.  Is it possible to add a column index over the grid a Custom Header with some controls, which are depending with the column ??

Parents
  • 560
    posted

    It´s difficult to explain, you must see the Grid:

     

     

    1: These is a panel with some specific control like labels and textboxes, these columns could be rise dynamically this means there could be minimal one or many columns. the Description column only describes the rows.

     

    2: These colums bind data to the grid, each colum must be sortable, filterable, fixing the header.

    3. That column part are depending on the header columns of 1 , when i resize this columns, the columns of 1 also muste resize.

     

    4: in the Footer there is also a new panel with some Rows with descriptions and values.

     

    The problem is, that the columns of 1, 3 and 4 are one unit with different values. These units could be created dynamically, depends on a collection.

    So i hope you could give me an advice for the best solution.

     

  • 560
    posted in reply to Patrick

    The point 4 with the Description i solved with the SummaryDefinition with a Style:

     

    The next step, i must set on the right side of the Description Summary new columns for the values.

    My idea was, to define 2 Styles and assign the columns with the specific style. But i read in this post that is not possible to use Styles by Key with the SummaryDefinition.

    Any idea to add new summary columns??

Reply Children