Hi,
my current project is in c# winform application.
I have a telerik rad gridview that is been fill from database. That all done.
There is a silly issue, this gridview does not fitting to the exact right side.
I used a code to manage those issue, but in vain.
foreach (GridViewColumn column in dgvBankActionGrid.Columns)
{
column.BestFit();
}
kindly help me to solve this issue. see gridview screenshot below:-


Bineesh ViswanathRank #1,681 · 907 reputationPosted Aug 4, 2017, 10:14 PM EDT
Bineesh ViswanathRank #1,681 · 907 reputationPosted Aug 7, 2017, 4:35 AM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted Aug 4, 2017, 7:38 AM EDT
can you please post the code too?
I think its not the individual column setting but the grid width as whole which needs to be set
Nilesh ShahRank #42 · 34.2K reputationPosted Aug 8, 2017, 4:50 AM EDT
Hi Bineesh,
I'm glad that you found the answer.