locked
Gridview column width and CrmSavedQueryColumnsGenerator RRS feed

  • Question

  • Hi,

    I am using the portal extensions to supply data and metadata to a gridview by using MyGridView.ColumnsGenerator = new CrmSavedQueryColumnsGenerator("Cases Web View). The gridview renders fine.

    However I would like to have more control over column widths. For example, my "created on" column should never have  a line break . I would like to control this behavior on a column by column basis. Manipulating the DynamicField using ItemStyle-Wrap, would be one option but that is closed source? Can I at least be able to set pixel widths?

    I can't find a way for me to manipulate this, neither in code behind nor using css (how would I be able to set different css classes on different columns?). Is there a way? Don't want to resort to javascript.

    Thanks!

    Tuesday, January 10, 2012 10:21 AM