跳至內容
選單
此問題已被標幟
2 回覆
2762 瀏覽次數

I have to get the value from a tree view with code

For example I have 3 columns (Rule, ID, Total) and I have to get the value of total where the ID is "Basic"
How can I do that?

頭像
捨棄
最佳答案

Hello,

You can access that value from the browsable object of that model and if you want to get total value in same model then you can get that value by self.field_name

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
1月 21
4823
5
9月 24
45220
1
8月 23
1669
0
3月 23
1979
1
9月 24
6942