datagrid column widths
-
i've seen lots of links to the syncrofusion site, but it still doesn't clear up the column width problem. i've added a tablestyle to my datagrid, .. and then i've added grid column styles to my table style. i populate my datagrid like this:
dataGrid1.SetDataBinding(ds,"Contacts");
but how do i bind the tablestyle / column styles to this datagrid? i thought that is what i was doing in the gui of VS, but it does not pick up the widths i set. can someone clear this up any? -
i've seen lots of links to the syncrofusion site, but it still doesn't clear up the column width problem. i've added a tablestyle to my datagrid, .. and then i've added grid column styles to my table style. i populate my datagrid like this:
dataGrid1.SetDataBinding(ds,"Contacts");
but how do i bind the tablestyle / column styles to this datagrid? i thought that is what i was doing in the gui of VS, but it does not pick up the widths i set. can someone clear this up any? -
i've seen lots of links to the syncrofusion site, but it still doesn't clear up the column width problem. i've added a tablestyle to my datagrid, .. and then i've added grid column styles to my table style. i populate my datagrid like this:
dataGrid1.SetDataBinding(ds,"Contacts");
but how do i bind the tablestyle / column styles to this datagrid? i thought that is what i was doing in the gui of VS, but it does not pick up the widths i set. can someone clear this up any?you have to set the Mapping Name of the tablestyle to that of the database table you want this style to apply to.. For exampe "Mapping Name = Contacts".. Also apply the mapping name of each columnstyle to map to the corresping column of your database table.. Freelance Developer... Constantly looking for Gigs.
-
you have to set the Mapping Name of the tablestyle to that of the database table you want this style to apply to.. For exampe "Mapping Name = Contacts".. Also apply the mapping name of each columnstyle to map to the corresping column of your database table.. Freelance Developer... Constantly looking for Gigs.